]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Correct quirk for VF0770
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Mon, 31 Jan 2022 18:35:16 +0000 (19:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Feb 2022 07:11:50 +0000 (08:11 +0100)
commitcf41ad1285ac42898d9afdb44fbc734457be099d
tree0f7dbf5c713242c713cf1f6dc90dd2d73b3461f3
parent48b8fb46710f545de0d2ce9ee8494a9365cb3f71
ALSA: usb-audio: Correct quirk for VF0770

This device provides both audio and video. The original quirk added in
commit 55c733f89cf6 ("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: 55c733f89cf6 ("ALSA: usb-audio: Add quirk for VF0770")
Reported-by: Jukka Heikintalo <heikintalo.jukka@gmail.com>
Tested-by: Jukka Heikintalo <heikintalo.jukka@gmail.com>
Reported-by: Paweł Susicki <pawel.susicki@gmail.com>
Tested-by: Paweł Susicki <pawel.susicki@gmail.com>
Cc: <stable@vger.kernel.org> # 5.4, 5.10, 5.14, 5.15
Signed-off-by: Jonas Hahnfeld <hahnjo@hahnjo.de>
Link: https://lore.kernel.org/r/20220131183516.61191-1-hahnjo@hahnjo.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h