ALSA: usb-audio: Correct wrongly matching entries with audio class
authorTakashi Iwai <tiwai@suse.de>
Sun, 23 Aug 2020 11:32:51 +0000 (13:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 24 Aug 2020 06:28:55 +0000 (08:28 +0200)
commit14b51ccd26742811ced3ee5e52ee6544f5d6105c
tree41677cdd785e5b4946b1c9988dd1a47a35336bae
parentee15d9b84ccb1c66fd8616257eb2a03b3ec79540
ALSA: usb-audio: Correct wrongly matching entries with audio class

The commit 51ab5d77dcb8 ("ALSA: usb-audio: Properly match with audio
interface class") converted the quirk entries that have both vid/pid
pair and bInterface fields to match with all those with a new macro
USB_AUDIO_CLASS().  However, it turned out that those are false
conversions; all those (but the unknown KeithMcMillen device) are
actually with vendor-specific interface class, hence the conversions
broke the matching.

This patch corrects those entries to the right one,
USB_DEVICE_VENDOR_SPEC() (and USB_DEVICE() for KeithMcMillen to be
sure), and drop the unused USB_AUDIO_CLASS macro again.

Fixes: 51ab5d77dcb8 ("ALSA: usb-audio: Properly match with audio interface class")
Reported-by: Alexander Tsoy <alexander@tsoy.me>
Link: https://lore.kernel.org/r/20200823113251.10175-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h