summaryrefslogtreecommitdiff
path: root/sound/usb/format.c
diff options
context:
space:
mode:
authorFrederic Popp <frederic.l.popp@t-online.de>2026-03-08 16:22:16 +0100
committerTakashi Iwai <tiwai@suse.de>2026-03-09 13:00:57 +0100
commitc4791ce96b88a444b04c7089ae2827a3b3ae1877 (patch)
treebf10548078367427a9a71af50fbe46a432a2d575 /sound/usb/format.c
parent9558a2cbec2eb034ae7d570ff56ad74f9a918177 (diff)
downloadlinux-next-c4791ce96b88a444b04c7089ae2827a3b3ae1877.tar.gz
linux-next-c4791ce96b88a444b04c7089ae2827a3b3ae1877.zip
ALSA: usb-audio: add Studio 1824 support
Adapt the already implemented support for the Studio 1824c audio interface to the predecessor Studio 1824. Basically just a change adding the different hardware ID in the relevant places. Tested as much as possible. All implemented functionality seemingly works. Signed-off-by: Frederic Popp <frederic.l.popp@t-online.de> Link: https://patch.msgid.link/20260308153334.50433-2-frederic.l.popp@t-online.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/format.c')
-rw-r--r--sound/usb/format.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/usb/format.c b/sound/usb/format.c
index 1207c507882a..030b4307927a 100644
--- a/sound/usb/format.c
+++ b/sound/usb/format.c
@@ -455,6 +455,10 @@ static int parse_uac2_sample_rate_range(struct snd_usb_audio *chip,
if (chip->usb_id == USB_ID(0x194f, 0x010d) &&
!s1810c_valid_sample_rate(fp, rate))
goto skip_rate;
+ /* Filter out invalid rates on Presonus Studio 1824 */
+ if (chip->usb_id == USB_ID(0x194f, 0x0107) &&
+ !s1810c_valid_sample_rate(fp, rate))
+ goto skip_rate;
/* Filter out invalid rates on Focusrite devices */
if (USB_ID_VENDOR(chip->usb_id) == 0x1235 &&