]> bbs.cooldavid.org Git - net-next-2.6.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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jun 2010 09:24:58 +0000 (11:24 +0200)
commitfbe618f216830f47b183858c3380d4767b1ad02f
tree3c880b6874eda86f047f6ec837737a177a02d8fa
parentab669967d0ecf784567843180e715ccb0e42db36
ALSA: hda - Don't check capture source mixer if no ADC is available

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

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