]> 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)
commit168fa8ca24c338e64b32af9fd44434cdac198992
tree12ad6b8cea6acf2ac22c2ddf2ac8974112ca8de4
parent7975c246d13d3b211fc84302cd66abfec8933123
ASoC: wm8904: fix automatic sysclk configuration

The simple-card tries to signal the codec to disable rate constraints,
see commit 1ec9fa2493d3 ("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: 9db7025efa39 ("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