mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 0/2] ALSA: usb-audio: Fix Solid State Logic SSL 12 192 kHz duplex
Date: Wed,  2 Dec 2026 21:10:11 +0300	[thread overview]
Message-ID: <20261202181013.145045-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.

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 | 24 +++++++++++++++++++++++-
 2 files changed, 53 insertions(+), 1 deletion(-)

-- 
2.55.0


             reply	other threads:[~2026-12-02 18:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 18:10 Lee Volkov [this message]
2026-12-02 18:10 ` [PATCH 1/2] ALSA: usb-audio: Filter invalid capture rates on Solid State Logic SSL 12 Lee Volkov
2026-12-02 18:10 ` [PATCH 2/2] ALSA: usb-audio: Reuse active sync endpoint format for implicit feedback Lee Volkov

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=20261202181013.145045-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®