diff options
-rw-r--r-- | sound/pci/hda/hda_auto_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c index 9acd5a964eb6..a98e25ebfd63 100644 --- a/sound/pci/hda/hda_auto_parser.c +++ b/sound/pci/hda/hda_auto_parser.c | |||
@@ -735,7 +735,8 @@ void snd_hda_pick_fixup(struct hda_codec *codec, | |||
735 | for (q = quirk; q->subvendor; q++) { | 735 | for (q = quirk; q->subvendor; q++) { |
736 | unsigned int vendorid = | 736 | unsigned int vendorid = |
737 | q->subdevice | (q->subvendor << 16); | 737 | q->subdevice | (q->subvendor << 16); |
738 | if (vendorid == codec->subsystem_id) { | 738 | unsigned int mask = 0xffff0000 | q->subdevice_mask; |
739 | if ((codec->subsystem_id & mask) == (vendorid & mask)) { | ||
739 | id = q->value; | 740 | id = q->value; |
740 | #ifdef CONFIG_SND_DEBUG_VERBOSE | 741 | #ifdef CONFIG_SND_DEBUG_VERBOSE |
741 | name = q->name; | 742 | name = q->name; |