Skip to content
Commit 303e89f9 authored by Jonas Hahnfeld's avatar Jonas Hahnfeld Committed by Greg Kroah-Hartman
Browse files

ALSA: usb-audio: Correct quirk for VF0770

commit 4ee02e20 upstream.

This device provides both audio and video. The original quirk added in
commit 48827e1d ("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: 48827e1d

 ("ALSA: usb-audio: Add quirk for VF0770")
Reported-by: default avatarJukka Heikintalo <heikintalo.jukka@gmail.com>
Tested-by: default avatarJukka Heikintalo <heikintalo.jukka@gmail.com>
Reported-by: default avatarPaweł Susicki <pawel.susicki@gmail.com>
Tested-by: default avatarPaweł Susicki <pawel.susicki@gmail.com>
Cc: <stable@vger.kernel.org> # 5.4, 5.10, 5.14, 5.15
Signed-off-by: default avatarJonas Hahnfeld <hahnjo@hahnjo.de>
Link: https://lore.kernel.org/r/20220131183516.61191-1-hahnjo@hahnjo.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b0a7836e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment