summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/tobermory.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-30 18:26:07 +0000
committerMark Brown <broonie@linaro.org>2014-02-11 16:39:32 +0000
commit631f8e94700ac776432826400403703f0bfe063b (patch)
treef1c54016efafa42a27212225291eaa74df4a9233 /sound/soc/samsung/tobermory.c
parent4f6136fa0d6200f1c6eebfb1f12572ca6b770927 (diff)
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;
}
}