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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:05 +0000 (15:14 -0800)
commit 80c678526d7da73bde4d46a4622449c2b3c88409 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found