aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-16 14:27:05 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-16 15:21:45 -0400
commitf538281c2b0b0e58a8059ba2accfe91f941d4f8a (patch)
tree51b48d8581f3adc840565d5f3b0a648eaa6685dc
parentc25edef8dcdd9c193a8457e0cdf53197fd4523e8 (diff)
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>
-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,
741 /* We really should validate PLL settings but not yet */ 741 /* We really should validate PLL settings but not yet */
742 wm8580->sysclk[dai->id] = freq; 742 wm8580->sysclk[dai->id] = freq;
743 743
744 return snd_soc_update_bits(codec, WM8580_CLKSEL, sel, sel_mask); 744 return snd_soc_update_bits(codec, WM8580_CLKSEL, sel_mask, sel);
745} 745}
746 746
747static int wm8580_digital_mute(struct snd_soc_dai *codec_dai, int mute) 747static int wm8580_digital_mute(struct snd_soc_dai *codec_dai, int mute)