Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283674
b: refs/heads/master
c: 2a761cd
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Nov 1, 2011
1 parent 007bcdc commit b092e65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ff51c859f086036710b375eb70a84f2efda97f9
refs/heads/master: 2a761cde31fddfe5e22f29bc5e241d597204e095
4 changes: 4 additions & 0 deletions trunk/sound/soc/codecs/wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -3394,6 +3394,7 @@ static int wm8962_set_fll(struct snd_soc_codec *codec, int fll_id, int source,
unsigned long timeout;
int ret;
int fll1 = snd_soc_read(codec, WM8962_FLL_CONTROL_1) & WM8962_FLL_ENA;
int sysclk = snd_soc_read(codec, WM8962_CLOCKING2) & WM8962_SYSCLK_ENA;

/* Any change? */
if (source == wm8962->fll_src && Fref == wm8962->fll_fref &&
Expand Down Expand Up @@ -3454,6 +3455,9 @@ static int wm8962_set_fll(struct snd_soc_codec *codec, int fll_id, int source,

try_wait_for_completion(&wm8962->fll_lock);

if (sysclk)
fll1 |= WM8962_FLL_ENA;

snd_soc_update_bits(codec, WM8962_FLL_CONTROL_1,
WM8962_FLL_FRAC | WM8962_FLL_REFCLK_SRC_MASK |
WM8962_FLL_ENA, fll1);
Expand Down

0 comments on commit b092e65

Please sign in to comment.