]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA: hda - Expand pin_match function to match upcoming new tbls
authorHui Wang <hui.wang@canonical.com>
Mon, 2 Sep 2019 04:28:00 +0000 (06:28 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Fri, 27 Sep 2019 10:31:08 +0000 (12:31 +0200)
commit31d7a6e3a4d82afc19f65538de18912629b362a8
tree843eaffe40a5348db11e95d971418b784f7cb533
parentc5976036160012fe0f25796472098c8fee07753e
ALSA: hda - Expand pin_match function to match upcoming new tbls

BugLink: https://bugs.launchpad.net/bugs/1842265
With the existing pintbl, we already have many entries in it. it is
better to figure out a new way to reduce the size of the pintbl.

We plan to define a new tbl which will match more machines with a
single tbl, To do that, this function doesn't need to match all valid
pins between machine and tbl, it just needs to match all pins defined
in the tbl with the machine.

And the plan is to move some tbls from pin_fixup_tbl to
fallback_pin_fixup_tbl gradually.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
(backported from commit 0fc1e447e9e474c2460df8d0378f899b8813e1d2)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/pci/hda/hda_auto_parser.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_realtek.c