Commit a712d6ff authored by Marcelo Tosatti's avatar Marcelo Tosatti Committed by Linus Torvalds

[PATCH] WM9712 suspend/resume nopop

From: Liam Girdwood <liam.girdwood@wolfsonmicro.com>

This patch eliminates pop noises when doing a PM suspend/resume with the
WM9712 AC97 codec.
parent 230b619e
......@@ -1078,6 +1078,10 @@ static int wolfson_init05(struct ac97_codec * codec)
/* WM9711, WM9712 */
static int wolfson_init11(struct ac97_codec * codec)
{
/* stop pop's during suspend/resume */
codec->codec_write(codec, AC97_WM97XX_TEST,
codec->codec_read(codec, AC97_WM97XX_TEST) & 0xffbf);
/* set out3 volume */
codec->codec_write(codec, AC97_WM9711_OUT3VOL, 0x0808);
return 0;
......
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