Skip to content
Commit 5f380eb1 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent fc64b26c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment