commit | 5f380eb1eff2031b5101a64c76b54cca8e1c7079 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Sep 14 15:36:14 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Sep 14 15:36:14 2009 +0200 |
tree | 614f6422b85859756dba9099a7ce2fdf6cfc365a | |
parent | fc64b26cfa3c7ee5ba23ab549ecd6415bed6b0eb [diff] |
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 <tiwai@suse.de>