]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: arizona: Improve handling of setting REFCLK to 0
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 16 Sep 2013 14:34:35 +0000 (15:34 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:43:57 +0000 (00:43 +0100)
commit49c60547daebaa79e8de9d2dff6dee994576c94c
tree49436e8a1a167a6dfd3866dc045917ceba7f9f53
parent272b98c6455f00884f0350f775c5342358ebb73f
ASoC: arizona: Improve handling of setting REFCLK to 0

This patch suppresses calculation of REFCLK parameters when the REFCLK
source frequency is set to zero, additionally it will consider a source
frequency of zero as the REFCLK being disabled and switch to using the
SYNCCLK.

Reported-by: Kyung Kwee Ryu <Kyung-Kwee.Ryu@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/arizona.c