]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit179c323176f71dc1697f1389027b3c6ae5d39db3
tree41677cdd785e5b4946b1c9988dd1a47a35336bae
parent9bdfb4606ee3bb728df1d8a3c227f5d4c9d0d355
ALSA: usb-audio: Correct wrongly matching entries with audio class

The commit 1e4ebf13a529 ("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: 1e4ebf13a529 ("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