ALSA: hda - Fix NULL-derefence with a single mic in STAC auto-mic detection
authorTakashi Iwai <tiwai@suse.de>
Thu, 13 Jan 2011 07:08:08 +0000 (08:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Jan 2011 07:29:12 +0000 (08:29 +0100)
commit80c678526d7da73bde4d46a4622449c2b3c88409
treed639335446b65d51b7951df47779ca336423a9a8
parent700b65cee958d81b16c48378d5759c46d01e24d0
ALSA: hda - Fix NULL-derefence with a single mic in STAC auto-mic detection

When only one mic is available and it's an analog mic, the current
IDT/STAC parser may give an Oops.

Reference: bko#25692
https://bugzilla.kernel.org/show_bug.cgi?id=25692

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
sound/pci/hda/patch_sigmatel.c