]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 6 Dec 2016 08:56:27 +0000 (16:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jan 2017 10:16:20 +0000 (11:16 +0100)
commit2b96c4b19e0a243475811c71f2b1c96fed0a7b11
tree97f931ef8ddced9a12cc8899ebeea57af8a5c620
parentdc8144f49988b7e3f9ae40e9db21acdf87671f64
ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq

commit 5e0ad0d8747f3e4803a9c3d96d64dd7332506d3c upstream.

Commit [64047d7f4912 ALSA: hda - ignore the assoc and seq when comparing
pin configurations] intented to ignore both seq and assoc at pin
comparing, but it only ignored seq. So that commit may still fail to
match pins on some machines.
Change the bitmask to also ignore assoc.

v2: Use macro to do bit masking.

Thanks to Hui Wang for the analysis.

Fixes: 64047d7f4912 ("ALSA: hda - ignore the assoc and seq when comparing...")
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/hda_auto_parser.c