summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/tobermory.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-30 19:26:07 +0100
committerMark Brown <broonie@linaro.org>2014-02-11 17:39:32 +0100
commit631f8e94700ac776432826400403703f0bfe063b (patch)
treef1c54016efafa42a27212225291eaa74df4a9233 /sound/soc/samsung/tobermory.c
parentASoC: rx1950_uda1380: Don't modify runtime->hw (diff)
downloadlinux-631f8e94700ac776432826400403703f0bfe063b.tar.xz
linux-631f8e94700ac776432826400403703f0bfe063b.zip
ASoC: tobermory: Stop the FLL if we fail to switch SYSCLK to it
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/samsung/tobermory.c')
-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,
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;
}
}