[alsa-devel] [PATCH] ASoC: tobermory: Stop the FLL if we fail to switch SYSCLK to it

Mark Brown broonie at kernel.org
Fri Feb 7 21:01:19 CET 2014


From: Mark Brown <broonie at linaro.org>

Signed-off-by: Mark Brown <broonie at linaro.org>
---
 sound/soc/samsung/tobermory.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/samsung/tobermory.c b/sound/soc/samsung/tobermory.c
index f21ff608a819..1807b75ccc12 100644
--- a/sound/soc/samsung/tobermory.c
+++ b/sound/soc/samsung/tobermory.c
@@ -44,6 +44,8 @@ static int tobermory_set_bias_level(struct snd_soc_card *card,
 						     SND_SOC_CLOCK_IN);
 			if (ret < 0) {
 				pr_err("Failed to set SYSCLK: %d\n", ret);
+				snd_soc_dai_set_pll(codec_dai, WM8962_FLL,
+						    0, 0, 0);
 				return ret;
 			}
 		}
-- 
1.9.rc1



More information about the Alsa-devel mailing list