]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8904: fix automatic sysclk configuration
authorMichael Walle <michael@walle.cc>
Fri, 22 Nov 2019 23:25:32 +0000 (00:25 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 27 Nov 2019 12:51:16 +0000 (12:51 +0000)
commit2f82898f4786521e875e1e67573f7984609f42d3
tree12ad6b8cea6acf2ac22c2ddf2ac8974112ca8de4
parent4a5eeb55db8b4884fa04769967e724aa634aff3c
ASoC: wm8904: fix automatic sysclk configuration

The simple-card tries to signal the codec to disable rate constraints,
see commit 18b9bd58daa0 ("SoC: simple-card-utils: set 0Hz to sysclk when
shutdown"). This wasn't handled by the codec, instead it would set the
FLL frequency to 0Hz which isn't working. Since we don't have any rate
constraints just ignore this request.

Fixes: 468e8cf0cfb1 ("ASoC: wm8904: configure sysclk/FLL automatically")
Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20191122232532.22258-1-michael@walle.cc
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8904.c