X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=sound%2Fpci%2Fhda%2Fhda_auto_parser.c;h=48a9d004d6d938ac5365b52a83c6b67b7b18dcaa;hb=ac0bc7899afc5b69abff64472e2ac4869fd97ff6;hp=7c11d46b84d3b3b0fd26b8bca560f6fb3017a8fc;hpb=cc51bf6e6d8b03bd459818492e0bc3bef09dcd74;p=~andy%2Flinux diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c index 7c11d46b84d..48a9d004d6d 100644 --- a/sound/pci/hda/hda_auto_parser.c +++ b/sound/pci/hda/hda_auto_parser.c @@ -860,7 +860,7 @@ void snd_hda_pick_fixup(struct hda_codec *codec, } } if (id < 0 && quirk) { - for (q = quirk; q->subvendor; q++) { + for (q = quirk; q->subvendor || q->subdevice; q++) { unsigned int vendorid = q->subdevice | (q->subvendor << 16); unsigned int mask = 0xffff0000 | q->subdevice_mask;