]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: hda - ignore the assoc and seq when comparing pin configurations
authorHui Wang <hui.wang@canonical.com>
Wed, 23 Nov 2016 08:05:37 +0000 (16:05 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Nov 2016 10:37:34 +0000 (11:37 +0100)
commit64047d7f4912de1769d1bf0d34c6322494b13779
tree19ff729c033c32e0728983058d848f4ea27d79fa
parent6ff1a25318ebf688ef9593fe09cd449f6fb4ad31
ALSA: hda - ignore the assoc and seq when comparing pin configurations

More and more pin configurations have been adding to the pin quirk
table, lots of them are only different from assoc and seq, but they
all apply to the same QUIRK_FIXUP, if we don't compare assoc and seq
when matching pin configurations, it will greatly reduce the pin
quirk table size.

We have tested this change on a couple of Dell laptops, it worked
well.

Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_auto_parser.c