Commit 26227d29 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

ASoC: wm8940: Properly set codec->dapm.bias_level

commit 5927f947

 upstream.
Reported-by: default avatarChris Paulson-Ellis <chris@edesix.com>
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 126a2f64
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -472,6 +472,7 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
ret = snd_soc_write(codec, WM8940_POWER1, pwr_reg);
break;
}
codec->bias_level = level;
return ret;
}
......
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