ALSA: hda - Check invalid NIDs in alc_init_jacks()
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Sep 2010 09:26:21 +0000 (11:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Sep 2010 09:26:21 +0000 (11:26 +0200)
commit265a02478db5217eda8063004ded1ef0a461c240
tree2f6dc49ca61476910903a918ac19bddaa8498e14
parent9e5341b92d1d2dde11691b394721b45b36416bef
ALSA: hda - Check invalid NIDs in alc_init_jacks()

The headphone and external-mic pin NIDs can be null, and the jack input
elements should be skipped in such a case.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c