From: Takashi Iwai Date: Mon, 14 Sep 2009 13:36:14 +0000 (+0200) Subject: ALSA: hda - Fix HP/line-out initialization with IDT/STAC codecs X-Git-Tag: v2.6.32-rc1~659^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f380eb1eff2031b5101a64c76b54cca8e1c7079;p=pandora-kernel.git ALSA: hda - Fix HP/line-out initialization with IDT/STAC codecs It's possible that hp_detect is set even though no headphone pin is detected. The driver issues, however, an unsol event only to hp_pins[0], which can be invalid. This patch adds the check of the valid pin to send an unsol event at initialization and resume callbacks. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed