From: Takashi Iwai Date: Tue, 4 Aug 2009 11:40:54 +0000 (+0200) Subject: ALSA: hda - Fix line-out jack handling with STAC/IDT codec X-Git-Tag: v2.6.32-rc1~732^2~13^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ffe32c773dab387cfc5e6bdf181367ff944376;p=pandora-kernel.git ALSA: hda - Fix line-out jack handling with STAC/IDT codec When the line-out jack is plugged/unplugged, the driver needs to check the headphone plug, not only the line-out jack itself. Otherwise the headphone or the speaker may be wrongly muted/unmuted. As a result, both STAC_HP_EVENT and STAC_LO_EVENT need to call the same function, stac92xx_hp_detect(). Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed