Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257564
b: refs/heads/master
c: 67d0c47
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Jun 30, 2011
1 parent 5098d82 commit d4561a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 57cc2432e172b191db488ec8ad430b283807af0a
refs/heads/master: 67d0c479d9392a89dd9ecf9d7b92148cc2251b00
12 changes: 8 additions & 4 deletions trunk/sound/soc/samsung/speyside_wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ static int speyside_wm8962_set_bias_level(struct snd_soc_card *card,
WM8962_FLL_MCLK, 32768,
44100 * 256);
if (ret < 0)
pr_err("Failed to start FLL\n");
pr_err("Failed to start FLL: %d\n", ret);

ret = snd_soc_dai_set_sysclk(codec_dai,
WM8962_SYSCLK_FLL,
44100 * 256,
SND_SOC_CLOCK_IN);
if (ret < 0)
if (ret < 0) {
pr_err("Failed to set SYSCLK: %d\n");
return ret;
}
}
break;

Expand All @@ -59,13 +61,15 @@ static int speyside_wm8962_set_bias_level_post(struct snd_soc_card *card,
case SND_SOC_BIAS_STANDBY:
ret = snd_soc_dai_set_sysclk(codec_dai, WM8962_SYSCLK_MCLK,
32768, SND_SOC_CLOCK_IN);
if (ret < 0)
if (ret < 0) {
pr_err("Failed to switch away from FLL: %d\n", ret);
return ret;
}

ret = snd_soc_dai_set_pll(codec_dai, WM8962_FLL,
0, 0, 0);
if (ret < 0) {
pr_err("Failed to stop FLL\n");
pr_err("Failed to stop FLL: %d\n", ret);
return ret;
}
break;
Expand Down

0 comments on commit d4561a8

Please sign in to comment.