ALSA: hda - Fix Oops with Realtek quirks with NULL adc_nids
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Jul 2011 12:01:24 +0000 (14:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Jul 2011 14:05:30 +0000 (16:05 +0200)
Somce quirk models don't set adc_nids but let the parser filling it.
But the recent code has unnecessary NULL-checks of spec->input_mux,
and it resulted in NULL dereferences.
This patch fixes that regression.

Reported-and-tested-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found