ALSA: hda - Don't check invalid HP pin
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Nov 2009 13:23:15 +0000 (14:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Nov 2009 13:23:15 +0000 (14:23 +0100)
alc_automute_pin() might be called even if any HP pin is defined, and
it will result in verbs with NID=0.

This patch adds a check for the validity of HP widget before issuing
any verbs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found