]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: usb-audio: Replace complex quirk lines with macros
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Aug 2024 13:48:42 +0000 (15:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:00:23 +0000 (12:00 +0200)
commitf27840d0d366c57d93c012a311ea405356dfbfa2
treecd601280aba92caed3274d09def3f2d31e71f4e3
parent9666e593732bf85ea8f64c2e7e10b118af7cf770
ALSA: usb-audio: Replace complex quirk lines with macros

[ Upstream commit d79e13f8e8abb5cd3a2a0f9fc9bc3fc750c5b06f ]

Apply the newly introduced macros for reduce the complex expressions
and cast in the quirk table definitions.  It results in a significant
code reduction, too.

There should be no functional changes.

Link: https://patch.msgid.link/20240814134844.2726-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/usb/quirks-table.h