Files
android_kernel_xiaomi_sm8450/sound/soc/codecs
Michael Walle e9149b8c00 ASoC: wm8904: fix regcache handling
The current code assumes that the power is turned off in
SND_SOC_BIAS_OFF. If there are no actual regulator the codec isn't
turned off and the registers are not reset to their default values but
the regcache is still marked as dirty. Thus a value might not be written
to the hardware if it is set to the default value. Do a software reset
before turning off the power to make sure the registers are always reset
to their default states.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20191112223629.21867-1-michael@walle.cc
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-11-15 12:00:11 +00:00
..
2018-02-27 10:41:34 +00:00
2019-06-26 12:27:50 +01:00
2019-07-31 12:26:47 +01:00
2018-04-26 12:44:15 +01:00
2019-06-12 13:52:26 +01:00
2019-06-12 13:52:26 +01:00
2019-07-26 13:10:09 +01:00
2019-06-26 12:39:34 +01:00
2018-05-18 11:20:11 +01:00
2019-06-26 12:39:34 +01:00
2019-01-07 16:53:10 +00:00
2018-06-01 12:05:30 +01:00
2019-11-15 12:00:11 +00:00