ALSA: hda - Skip pin capability sanity check for bogus values
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Apr 2012 11:08:40 +0000 (13:08 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Apr 2012 11:08:40 +0000 (13:08 +0200)
Some old codecs like ALC880 seem to give a bogus pin capability value 0
occasionally.  This breaks the new sanity check in snd_hda_set_pin_ctl().
Skip the sanity checks in such a case.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found