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)
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>

No differences found