Skip to contentSkip to conversation

ALSA: usb-audio: Correct quirk for VF0770

PATCH Applied Jonas Hahnfeld 2 participants 2 messages Jan 31, 2022 – Feb 1, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: usb-audio: Correct quirk for VF0770

This device provides both audio and video. The original quirk added in commit 48827e1d6af5 ("ALSA: usb-audio: Add quirk for VF0770") used USB_DEVICE to match the vendor and product ID. Depending on module order, if snd-usb-audio was asked first, it would match the entire device and uvcvideo wouldn't get to see it. Change the matching to USB_AUDIO_DEVICE to restore uvcvideo matching in all cases.

Fixes 48827e1d6af5 ("ALSA: usb-audio: Add quirk for VF0770")
Cc <[email protected]> # 5.4, 5.10, 5.14, 5.15
---
 sound/usb/quirks-table.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/usb/quirks-table.h +1 -1
index b1522e43173e..0ea39565e623 100644
@@ -84,7 +84,7 @@
  * combination.
  */
 {
-	USB_DEVICE(0x041e, 0x4095),
+	USB_AUDIO_DEVICE(0x041e, 0x4095),
 	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
 		.ifnum = QUIRK_ANY_INTERFACE,
 		.type = QUIRK_COMPOSITE,
Signature · 1 line
2.35.1
Applied
#1 lore raw
Quoted 8 lines · Jonas Hahnfeld

This device provides both audio and video. The original quirk added in commit 48827e1d6af5 ("ALSA: usb-audio: Add quirk for VF0770") used USB_DEVICE to match the vendor and product ID. Depending on module order, if snd-usb-audio was asked first, it would match the entire device and uvcvideo wouldn't get to see it. Change the matching to USB_AUDIO_DEVICE to restore uvcvideo matching in all cases.

Quoted 7 lines
Fixes 48827e1d6af5 ("ALSA: usb-audio: Add quirk for VF0770")
Cc <[email protected]> # 5.4, 5.10, 5.14, 5.15

Thanks, applied now.

Takashi