patch-2.4.23 linux-2.4.23/drivers/sound/ac97_codec.c
Next file: linux-2.4.23/drivers/sound/ac97_plugin_wm97xx.c
Previous file: linux-2.4.23/drivers/sound/Makefile
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/sound/ac97_codec.c
- Orig date:
2003-08-25 04:44:42.000000000 -0700
diff -urN linux-2.4.22/drivers/sound/ac97_codec.c linux-2.4.23/drivers/sound/ac97_codec.c
@@ -1077,6 +1077,9 @@
/* 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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)