]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Don't check capture source mixer if no ADC is available
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 Jun 2010 09:24:58 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:25 +0000 (10:29 -0700)
commitfd1dd3913b09ddb4478b5f94bf8137bcd9da2eb2
treef2aa339da411903316af128227b0baf3fef8d8bb
parent1180deda29be7691126b9bdd608d45d3678b7875
ALSA: hda - Don't check capture source mixer if no ADC is available

commit fbe618f216830f47b183858c3380d4767b1ad02f upstream.

With multiple codec configurations, some codec might have no ADC, thus
it keeps spec->adc_nids = NULL.  This causes an Oops in alc_build_controls().

Reference: kernel bug #16156
https://bugzilla.kernel.org/show_bug.cgi?id=16156

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