]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: tas5805m: add missing page switch.
authorDaniel Beer <daniel.beer@igorinstitute.com>
Thu, 27 Oct 2022 08:38:38 +0000 (21:38 +1300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 18:11:49 +0000 (19:11 +0100)
commit84560e33cea5d7f95e51a5a2ffff7525bbef5e94
treebf9b17bc231bc726bf846d41b89070921a55559e
parent3e984873e4ac2bcec2749a3d92506ba2a3f0ac95
ASoC: tas5805m: add missing page switch.

[ Upstream commit e0576cd642ced1ac65370b4516b7be9f536a0498 ]

In tas5805m_refresh, we switch pages to update the DSP volume control,
but we need to switch back to page 0 before trying to alter the
soft-mute control. This latter page-switch was missing.

Fixes: ec45268467f4 ("ASoC: add support for TAS5805M digital amplifier")
Signed-off-by: Daniel Beer <daniel.beer@igorinstitute.com>
Link: https://lore.kernel.org/r/1fea38a71ea6ab0225d19ab28d1fa12828d762d0.1675497326.git.daniel.beer@igorinstitute.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/tas5805m.c