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)
commit2a0bda276c64212e517cc1d65cf65719a9ab1ef6
tree12ad6b8cea6acf2ac22c2ddf2ac8974112ca8de4
parentfb3194413d1ef79732931a40f54da21a16505a76
ASoC: wm8904: fix automatic sysclk configuration

The simple-card tries to signal the codec to disable rate constraints,
see commit 2458adb8f92a ("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: 13409d27cb39 ("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