aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-30 13:26:07 -0500
committerMark Brown <broonie@linaro.org>2014-02-11 11:39:32 -0500
commit631f8e94700ac776432826400403703f0bfe063b (patch)
treef1c54016efafa42a27212225291eaa74df4a9233
parent4f6136fa0d6200f1c6eebfb1f12572ca6b770927 (diff)
ASoC: tobermory: Stop the FLL if we fail to switch SYSCLK to it
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/samsung/tobermory.c2
1 files changed, 2 insertions, 0 deletions
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,
44 SND_SOC_CLOCK_IN); 44 SND_SOC_CLOCK_IN);
45 if (ret < 0) { 45 if (ret < 0) {
46 pr_err("Failed to set SYSCLK: %d\n", ret); 46 pr_err("Failed to set SYSCLK: %d\n", ret);
47 snd_soc_dai_set_pll(codec_dai, WM8962_FLL,
48 0, 0, 0);
47 return ret; 49 return ret;
48 } 50 }
49 } 51 }