diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-08-17 11:21:40 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-08-20 12:00:47 +0300 |
commit | 51ab5d77dcb8a50283c0eded08c67a6d275cb910 (patch) | |
tree | e0c5bd5eb92d116330b098d417c2e0a355cab951 /scripts/kallsyms.c | |
parent | fa10635fca359f047df6a18b3befd2f1e7304e1a (diff) | |
download | linux-51ab5d77dcb8a50283c0eded08c67a6d275cb910.tar.xz |
ALSA: usb-audio: Properly match with audio interface class
There are a few entries in the quirk table that set the device ID with
USB_DEVICE() macro while having an extra bInterfaceClass field. But
bInterfaceClass field is never checked unless the proper match_flags
is set, so those may match incorrectly with all interfaces.
Introduce another macro to match with the vid/pid pair and the audio
class interface, and apply it to such entries, so that they can match
properly.
Link: https://lore.kernel.org/r/20200817082140.20232-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/kallsyms.c')
0 files changed, 0 insertions, 0 deletions