ASoC: tobermory: Stop the FLL if we fail to switch SYSCLK to it
authorMark Brown <broonie@linaro.org>
Thu, 30 Jan 2014 18:26:07 +0000 (18:26 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 11 Feb 2014 16:39:32 +0000 (16:39 +0000)
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/tobermory.c

index f21ff608a8199dd09f70b19b0bf92070a86fd28f..1807b75ccc12d0544d79e538173a2dc47e55ed1a 100644 (file)
@@ -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;
                        }
                }