aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-01-15 09:58:25 +0100
committerTakashi Iwai <tiwai@suse.de>2022-01-15 09:58:25 +0100
commit9dc3b624bfcc4a915218d3f32a90857f44a74f87 (patch)
treeb90251b2b3095458ba370fcdf9c3c47efc8edc0f
parentc8e3cf77dc1a05c2799d03847144c7e58fe7c1ce (diff)
downloadhda-emu-9dc3b624bfcc4a915218d3f32a90857f44a74f87.tar.gz
Fix SSID lookup (bko#215495)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--snd-wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snd-wrapper.c b/snd-wrapper.c
index b90afab..cf296c9 100644
--- a/snd-wrapper.c
+++ b/snd-wrapper.c
@@ -255,7 +255,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 ||