ALSA: hda - Add sanity check for storing the user-defined pin configs
authorTakashi Iwai <tiwai@suse.de>
Sun, 27 Dec 2009 10:24:56 +0000 (11:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 27 Dec 2009 12:39:25 +0000 (13:39 +0100)
commitb82855a0d76ebda1cc14c00040560d77bfa042ce
treee10bb6a0586e32ed4e44bfd381bc28d6807acb6e
parenta4e09aa3cf592d9f084ff4ceb216be40c4c265dc
ALSA: hda - Add sanity check for storing the user-defined pin configs

Check whether the given NID is a pin widget before storing the
user-defined pin configs.

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