aboutsummaryrefslogtreecommitdiff
path: root/sound/core/misc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-01-21 13:49:22 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-21 13:49:22 +0200
commit1f40caa080474d0420e0b0e6c896e455acb6e236 (patch)
tree5fe02c4314c37f5c7da818d31baff4e711270909 /sound/core/misc.c
parent75242f31db6cabf602a5eb84c13b579099d72a65 (diff)
parent2a1355f0bf41a2132d522ed7a2a7eb1cc4fe3d8f (diff)
downloadlinux-1f40caa080474d0420e0b0e6c896e455acb6e236.tar.gz
linux-1f40caa080474d0420e0b0e6c896e455acb6e236.tar.bz2
linux-1f40caa080474d0420e0b0e6c896e455acb6e236.zip
Merge tag 'sound-fix-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "A small set of HD-audio and USB-audio fixes as well as a couple of ALSA core fixes. Most of them are fix-ups for the newly added CS35L41 codec" * tag 'sound-fix-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda/cs8409: Add new Warlock SKUs to patch_cs8409 ALSA: core: Simplify snd_power_ref_and_wait() with the standard macro ALSA: hda: cs35l41: Make cs35l41_hda_remove() return void ALSA: hda: cs35l41: Tidyup code ALSA: hda: cs35l41: Make use of the helper function dev_err_probe() ALSA: hda: cs35l41: Add missing default cases ALSA: hda: cs35l41: Move cs35l41* calls to its own symbol namespace ALSA: hda: cs35l41: Add calls to newly added test key function ALSA: hda: cs35l41: Avoid overwriting register patch ALSA: core: Fix SSID quirk lookup for subvendor=0 ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi. ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
Diffstat (limited to 'sound/core/misc.c')
-rw-r--r--sound/core/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/misc.c b/sound/core/misc.c
index 3579dd7a161f..50e4aaa6270d 100644
--- a/sound/core/misc.c
+++ b/sound/core/misc.c
@@ -112,7 +112,7 @@ snd_pci_quirk_lookup_id(u16 vendor, u16 device,
{
const struct snd_pci_quirk *q;
- for (q = list; q->subvendor; q++) {
+ for (q = list; q->subvendor || q->subdevice; q++) {
if (q->subvendor != vendor)
continue;
if (!q->subdevice ||