diff options
| author | 2022-01-16 09:28:38 +0100 | |
|---|---|---|
| committer | 2022-01-17 09:59:32 +0100 | |
| commit | 5576c4f24c56722a2d9fb9c447d896e5b312078b (patch) | |
| tree | e52429348da86d27b460f56e07e29ddea4a1fc82 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi. (diff) | |
| download | linux-dev-5576c4f24c56722a2d9fb9c447d896e5b312078b.tar.xz linux-dev-5576c4f24c56722a2d9fb9c447d896e5b312078b.zip | |
ALSA: core: Fix SSID quirk lookup for subvendor=0
Some weird devices set the codec SSID vendor ID 0, and
snd_pci_quirk_lookup_id() loop aborts at the point although it should
still try matching with the SSID device ID. This resulted in a
missing quirk for some old Macs.
Fix the loop termination condition to check both subvendor and
subdevice.
Fixes: 73355ddd8775 ("ALSA: hda: Code refactoring snd_hda_pick_fixup()")
Cc: <stable@vger.kernel.org>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=215495
Link: https://lore.kernel.org/r/20220116082838.19382-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
