summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8915.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-10 17:49:34 +0200
committerTakashi Iwai <tiwai@suse.de>2011-06-10 17:49:34 +0200
commit05e205429d3f73ad4f9f0d84e8a95e978237d6fd (patch)
tree558ded377d3deafcc8397b72ae6f696cdc55a713 /sound/soc/codecs/wm8915.c
parent7ab1fc0af3464d231e17eb729a03495d93d0cc5c (diff)
parent33195500edf260e8c8809ab9dfc67f50e0ce031f (diff)
downloadblackbird-op-linux-05e205429d3f73ad4f9f0d84e8a95e978237d6fd.tar.gz
blackbird-op-linux-05e205429d3f73ad4f9f0d84e8a95e978237d6fd.zip
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/wm8915.c')
-rw-r--r--sound/soc/codecs/wm8915.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8915.c b/sound/soc/codecs/wm8915.c
index a0b1a7278284..e2ab4fac2819 100644
--- a/sound/soc/codecs/wm8915.c
+++ b/sound/soc/codecs/wm8915.c
@@ -1839,7 +1839,7 @@ static int wm8915_set_sysclk(struct snd_soc_dai *dai,
int old;
/* Disable SYSCLK while we reconfigure */
- old = snd_soc_read(codec, WM8915_AIF_CLOCKING_1);
+ old = snd_soc_read(codec, WM8915_AIF_CLOCKING_1) & WM8915_SYSCLK_ENA;
snd_soc_update_bits(codec, WM8915_AIF_CLOCKING_1,
WM8915_SYSCLK_ENA, 0);
@@ -2038,6 +2038,7 @@ static int wm8915_set_fll(struct snd_soc_codec *codec, int fll_id, int source,
break;
case WM8915_FLL_MCLK2:
reg = 1;
+ break;
case WM8915_FLL_DACLRCLK1:
reg = 2;
break;
OpenPOWER on IntegriCloud