From: Lee Volkov <voilthuman@gmail.com>
To: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
Lee Volkov <voilthuman@gmail.com>
Subject: [PATCH v2 0/2] ALSA: usb-audio: Fix Solid State Logic SSL 12 192 kHz duplex
Date: Sat, 5 Dec 2026 22:29:26 +0300 [thread overview]
Message-ID: <20261205192928.27775-1-voilthuman@gmail.com> (raw)
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
next reply other threads:[~2026-12-05 19:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 19:29 Lee Volkov [this message]
2026-12-05 19:29 ` [PATCH v2 1/2] ALSA: usb-audio: Filter invalid capture rates on Solid State Logic SSL 12 Lee Volkov
2026-12-05 19:29 ` [PATCH v2 2/2] ALSA: usb-audio: Reuse active sync endpoint format for implicit feedback Lee Volkov
2026-12-05 19:53 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205192928.27775-1-voilthuman@gmail.com \
--to=voilthuman@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.