commit | 16ffe32c773dab387cfc5e6bdf181367ff944376 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Aug 04 13:40:54 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Aug 04 13:40:54 2009 +0200 |
tree | 468527b07ff2c340b9e4c1636dfb94bcf421232a | |
parent | 15cfa2b3db8b64d4e66d36fb88d21bae9ea3dfba [diff] |
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 <tiwai@suse.de>