ALSA: usb-audio: Allow Focusrite devices to use low samplerates
authorTina Wuest <tina@wuest.me>
Mon, 1 Sep 2025 09:20:24 +0000 (12:20 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:14:52 +0000 (13:14 +0200)
commitcc8e91054c0a778074ecffaf12bd0944e884d71c
tree95e94275da05dc3ece174c3a7db7a35ff73b247b
parentd5f8458e34a331e5b228de142145e62ac5bfda34
ALSA: usb-audio: Allow Focusrite devices to use low samplerates

Commit 05f254a6369ac020fc0382a7cbd3ef64ad997c92 ("ALSA: usb-audio:
Improve filtering of sample rates on Focusrite devices") changed the
check for max_rate in a way which was overly restrictive, forcing
devices to use very high samplerates if they support them, despite
support existing for lower rates as well.

This maintains the intended outcome (ensuring samplerates selected are
supported) while allowing devices with higher maximum samplerates to be
opened at all supported samplerates.

This patch was tested with a Clarett+ 8Pre USB

Fixes: 05f254a6369a ("ALSA: usb-audio: Improve filtering of sample rates on Focusrite devices")
Signed-off-by: Tina Wuest <tina@wuest.me>
Link: https://patch.msgid.link/20250901092024.140993-1-tina@wuest.me
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/format.c