ASoC: cs35l41: Add ASP TX3/4 source to register patch
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Jun 2022 10:51:16 +0000 (11:51 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:59 +0000 (16:21 +0100)
commit46b0d050c8c7df6dfb2c376aaa149bf2cfc5ca3e
tree57a21068fd82e303dea0bb925cc30b209306e769
parent11d7a12f7f50baa5af9090b131c9b03af59503e7
ASoC: cs35l41: Add ASP TX3/4 source to register patch

The mixer controls for ASP TX3/4 are set to values that are not included
in their enumeration control. This will cause spurious event
notifications when the controls are first changed, as the register value
changes whilst the actual visible enumeration value does not. Use the
register patch to set them to a known value, zero, which equates to zero
fill, thereby avoiding the spurious notifications.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623105120.1981154-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l41-lib.c