]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: usb-audio: Add QUIRK_FLAG_SKIP_IFACE_SETUP
authorGeoffrey D. Bennett <g@b4.vu>
Fri, 20 Feb 2026 16:06:35 +0000 (02:36 +1030)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2026 08:57:10 +0000 (09:57 +0100)
commit38c322068a26a01d7ff64da92179e68cdde9860b
treeff3c089cafa1deec8fdb6930dcba5535b69385cb
parenta8cc55bf81a45772cad44c83ea7bb0e98431094a
ALSA: usb-audio: Add QUIRK_FLAG_SKIP_IFACE_SETUP

Add a quirk flag to skip the usb_set_interface(),
snd_usb_init_pitch(), and snd_usb_init_sample_rate() calls in
__snd_usb_parse_audio_interface(). These are redundant with
snd_usb_endpoint_prepare() at stream-open time.

Enable the quirk for Focusrite devices, as init_sample_rate(rate_max)
sets 192kHz during probing, which disables the internal mixer and Air
and Safe modes.

Fixes: 16f1f838442d ("Revert "ALSA: usb-audio: Drop superfluous interface setup at parsing"")
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/65a7909b15f9feb76c2a6f4f8814c240ddc50737.1771594828.git.g@b4.vu
sound/usb/quirks.c
sound/usb/stream.c
sound/usb/usbaudio.h