ALSA: hda - Fix the noise after suspend on ALC283 codec
authorKailang Yang <kailang@realtek.com>
Wed, 24 Jul 2013 12:39:49 +0000 (14:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 Jul 2013 12:44:40 +0000 (14:44 +0200)
When the power state of ALC283 codec goes to D3, it gives a noise via
headphone output.  This is because the driver tries to clear all pins
via snd_hda_shutup_pins().  Setting the mic pin to zero triggers such
a noise.

Define a new shutup call specific to this codec and control the pins
there more precisely.  Also, add the power-save enable/disable
sequences in the resume and the new shutup calls.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found