]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: usb-audio: don't log messages meant for 1810c when initializing 1824c
authorRoy Vegard Ovesen <roy.vegard.ovesen@gmail.com>
Mon, 20 Oct 2025 20:15:08 +0000 (22:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Oct 2025 08:59:18 +0000 (09:59 +0100)
commit75cdae446ddffe0a6a991bbb146dee51d9d4c865
tree11fe31831b81154b89063ff7d0f7b3f42e7c8d06
parent7963891f7c9c6f759cc9ab7da71406b4234f3dd6
ALSA: usb-audio: don't log messages meant for 1810c when initializing 1824c

The log messages for the PreSonus STUDIO 1810c about
device_setup are not applicable to the 1824c, and should
not be logged when 1824c initializes.

Refactor from if statement to switch statement as there
might be more STUDIO series devices added later.

Fixes: 080564558eb1 ("ALSA: usb-audio: enable support for Presonus Studio 1824c within 1810c file")
Signed-off-by: Roy Vegard Ovesen <roy.vegard.ovesen@gmail.com>
Link: https://patch.msgid.link/aPaYTP7ceuABf8c7@ark
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_s1810c.c