ALSA: hda - Fix NULL dereference in kctl-NID mapping in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Dec 2009 14:01:31 +0000 (15:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Dec 2009 14:01:31 +0000 (15:01 +0100)
commitd1409ae4cecb4af260759bdfdf88fafca23a9940
tree514a86b37a4511e79fdee8dc071c68020943619e
parent9e671deb8547638f6504c5f20126b14f5563690d
ALSA: hda - Fix NULL dereference in kctl-NID mapping in patch_realtek.c

capsrc_nids can be NULL, and adc_nids should be taken as fallback.

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