]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[ALSA] hda-codec - Avoid zero NID in line_out_pins[] of STAC codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 3 Sep 2007 07:43:38 +0000 (09:43 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:59:41 +0000 (15:59 +0200)
commitc480f79bdca58923e605ff5e4698cfe1779bae70
tree775e8cfd0d087c1ee7c5f11c016f2e89167c70c1
parentdc81bed127a93e20d2100624273a27369738ffc7
[ALSA] hda-codec - Avoid zero NID in line_out_pins[] of STAC codecs

The STAC codes adds line_out_pins[] for shared mic/line-inputs accordingly.
But, the current code may give a hole with NID=0 in some setting, which
results in an error at probe.  This patch fixes the problem.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_sigmatel.c