Commit f538281c authored by Mark Brown's avatar Mark Brown

ASoC: Fix argument ordering for snd_soc_update_bits() in WM8580

Reported-by: default avatarSeungwhan Youn <claude.youn@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent c25edef8
...@@ -741,7 +741,7 @@ static int wm8580_set_sysclk(struct snd_soc_dai *dai, int clk_id, ...@@ -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 */ /* We really should validate PLL settings but not yet */
wm8580->sysclk[dai->id] = freq; 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) static int wm8580_digital_mute(struct snd_soc_dai *codec_dai, int mute)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment