]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Simplify quirk entries with a macro
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Aug 2020 08:21:39 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Aug 2020 09:00:46 +0000 (11:00 +0200)
commit9e69e1e70d823c112c54097fd8f8038015dd39ec
treebadb7e898c68fe97bebdedfe572c3015a7d61a54
parent3583e4408ec762f94cc43b2422923b0c13663452
ALSA: usb-audio: Simplify quirk entries with a macro

Introduce a new macro USB_AUDIO_DEVICE() for the entries matching with
the pid/vid pair and the class/subclass, and remove the open-code.

Link: https://lore.kernel.org/r/20200817082140.20232-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h