]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 29 Mar 2022 07:13:56 +0000 (09:13 +0200)
commiteff055e8fa3317dfd0df1a3a6b421c69377497ce
treead50871374c9844fd97efb9b56d2a093bfc1824b
parentf33dcc36a1ceb0ea09367bff7f17566b4d971396
ALSA: usb-audio: Simplify quirk entries with a macro

BugLink: https://bugs.launchpad.net/bugs/1964634
commit fa10635fca359f047df6a18b3befd2f1e7304e1a upstream.

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>
[ just add the macro for 5.4.y, no entry changes made - gregkh ]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/usb/quirks-table.h