From: Kailang Yang Date: Wed, 24 Jul 2013 12:39:49 +0000 (+0200) Subject: ALSA: hda - Fix the noise after suspend on ALC283 codec X-Git-Tag: v3.12-rc1~150^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5177c861e2bae584996f60667dc7b291ba6600a;p=pandora-kernel.git ALSA: hda - Fix the noise after suspend on ALC283 codec 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed