“0b4f5b1d6385826093dc3cd9035b186f0d77a5dc”上不存在“arch/arm/include/git@gitcode.net:openanolis/cloud-kernel.git”
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: NMichael Walle <michael@walle.cc> Acked-by: NCharles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20191112223629.21867-1-michael@walle.ccSigned-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录