summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8580.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-16 19:27:05 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-16 20:21:45 +0100
commitf538281c2b0b0e58a8059ba2accfe91f941d4f8a (patch)
tree51b48d8581f3adc840565d5f3b0a648eaa6685dc /sound/soc/codecs/wm8580.c
parentc25edef8dcdd9c193a8457e0cdf53197fd4523e8 (diff)
downloadlinux-f538281c2b0b0e58a8059ba2accfe91f941d4f8a.tar.gz
linux-f538281c2b0b0e58a8059ba2accfe91f941d4f8a.tar.bz2
linux-f538281c2b0b0e58a8059ba2accfe91f941d4f8a.zip
ASoC: Fix argument ordering for snd_soc_update_bits() in WM8580
Reported-by: Seungwhan Youn <claude.youn@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
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)