[PATCH v2 0/2] ALSA: usb-audio: Fix Solid State Logic SSL 12 192 kHz duplex
From: Lee Volkov
Date: Sat Dec 05 2026 - 14:33:37 EST
This two-patch series fixes 176.4/192 kHz full-duplex operation with
implicit feedback on the Solid State Logic SSL 12 (USB ID 31e9:0005):
1. Filter out sample rates above 96 kHz for capture Altsets 1 (16 ch)
and 2 (12 ch), whose 1024-byte wMaxPacketSize cannot fit 176.4/192 kHz
microframes, leaving Altset 3 (10 ch, 1000 B) and playback (Altset 1,
8 ch, 800 B) able to operate up to 192 kHz.
2. Reuse an already opened compatible cur_audiofmt on the shared sync
endpoint in snd_usb_find_implicit_fb_sync_format() so starting
playback while 10ch Altset 3 capture is open at 48/96/192 kHz keeps
implicit feedback enabled instead of failing with -EINVAL.
Tested on SSL 12 (31e9:0005) on Linux 7.2.10 with direct ALSA duplex
(both stream open orders at 192 kHz (10ch) and 48/96 kHz (16ch), and
capture-first duplex at 48/96 kHz (10ch)) and PipeWire/WirePlumber
rate transitions (192000 <-> 48000 <-> 96000 Hz) with implicit feedback
active and no xHCI/USB errors.
Changes in v2:
- Patch 2: drop superfluous #include <linux/cleanup.h> (Takashi Iwai).
- Patch 2: pass subs->sync_endpoint (ref_ep) to
snd_usb_find_implicit_fb_sync_format() and check
(ep != ref_ep || ep->opened > 1) before reusing ep->cur_audiofmt so
a repeated hw_params() call without hw_free() cannot pin a stale
sync format (Sashiko AI review / Takashi Iwai).
- Patch 1: unchanged.
Lee Volkov (2):
ALSA: usb-audio: Filter invalid capture rates on Solid State Logic SSL
12
ALSA: usb-audio: Reuse active sync endpoint format for implicit
feedback
sound/usb/format.c | 30 ++++++++++++++++++++++++++++++
sound/usb/implicit.c | 25 ++++++++++++++++++++++++-
sound/usb/implicit.h | 6 +++++-
sound/usb/pcm.c | 1 +
4 files changed, 60 insertions(+), 2 deletions(-)
--
2.55.0