ASoC: Fix argument ordering for snd_soc_update_bits() in WM8580
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Aug 2010 18:27:05 +0000 (19:27 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Aug 2010 19:21:45 +0000 (20:21 +0100)
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>
sound/soc/codecs/wm8580.c

index 42a6699662ee3052ccfe33b7c0de3b105fedf152..910c62a3f5944b210bca016c0f0cb16a25f07bd2 100644 (file)
@@ -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)