summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8580.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8580.c')
-rw-r--r--sound/soc/codecs/wm8580.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
index 42a6699662ee..910c62a3f594 100644
--- a/sound/soc/codecs/wm8580.c
+++ b/sound/soc/codecs/wm8580.c
@@ -741,7 +741,7 @@ static int wm8580_set_sysclk(struct snd_soc_dai *dai, int clk_id,
/* We really should validate PLL settings but not yet */
wm8580->sysclk[dai->id] = freq;
- return snd_soc_update_bits(codec, WM8580_CLKSEL, sel, sel_mask);
+ return snd_soc_update_bits(codec, WM8580_CLKSEL, sel_mask, sel);
}
static int wm8580_digital_mute(struct snd_soc_dai *codec_dai, int mute)
OpenPOWER on IntegriCloud