ASoC: tobermory: Stop the FLL if we fail to switch SYSCLK to it

Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Mark Brown 2014-01-30 18:26:07 +00:00
parent 4f6136fa0d
commit 631f8e9470
1 changed files with 2 additions and 0 deletions

View 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;
}
}