diff options
| author | Thomas Nemer <thomas.nemer@fortytwo.fr> | 2026-10-18 13:15:19 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-19 10:40:21 +0200 |
| commit | 1869c47e5d59c6940823a58d58b647645cb69017 (patch) | |
| tree | 7b2472a81f86b29f27b2a22976168a4a16b65e46 /tools/lib/python/kdoc/python_version.py | |
| parent | 7e246ac8bed799402b743550d283bdd202048fa7 (diff) | |
ALSA: usb-audio: Fix missing sample-rate control for PreSonus AudioBox USB
The fixed audio formats for the PreSonus AudioBox USB declare
.attributes = 0, dropping UAC_EP_CS_ATTR_SAMPLE_RATE that the device
advertises in its class-specific endpoint descriptors (EP_GENERAL
bmAttributes 0x01 on both EP 0x01 and EP 0x82).
As a result set_sample_rate_v1() bails out and the kernel never sends
the UAC1 SET_CUR SAMPLING_FREQ request, leaving the device on its
power-on default clock. Playback and capture then run distorted
whenever the stream rate differs from that default. The device keeps
the last rate set by a host as long as it stays powered, which made the
regression look intermittent (e.g. it disappears after the device was
initialized by a host running a kernel without this quirk entry).
Restore the sample-rate attribute on both streams.
Fixes: 34fe4a9df247 ("ALSA: usb-audio: Add quirk for PreSonus AudioBox USB")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Nemer <thomas.nemer@fortytwo.fr>
Link: https://patch.msgid.link/20261018111519.191844-1-thomas.nemer@fortytwo.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
