From: Takashi Iwai <tiwai@suse.de>
To: "Geoffrey D. Bennett" <g@b4.vu>
Cc: Takashi Iwai <tiwai@suse.de>, Takashi Iwai <tiwai@suse.com>,
linux-sound@vger.kernel.org
Subject: Re: [PATCH] ALSA: scarlett2: Add retry on -EPROTO from scarlett2_usb_tx()
Date: Mon, 28 Jul 2025 12:25:05 +0200 [thread overview]
Message-ID: <87cy9kvchq.wl-tiwai@suse.de> (raw)
In-Reply-To: <aIdDO6ld50WQwNim@m.b4.vu>
On Mon, 28 Jul 2025 11:30:35 +0200,
Geoffrey D. Bennett wrote:
>
> During communication with Focusrite Scarlett Gen 2/3/4 USB audio
> interfaces, -EPROTO is sometimes returned from scarlett2_usb_tx(),
> snd_usb_ctl_msg() which can cause initialisation and control
> operations to fail intermittently.
>
> This patch adds up to 5 retries in scarlett2_usb(), with a delay
> starting at 5ms and doubling each time. This follows the same approach
> as the fix for usb_set_interface() in endpoint.c (commit f406005e162b
> ("ALSA: usb-audio: Add retry on -EPROTO from usb_set_interface()")),
> which resolved similar -EPROTO issues during device initialisation,
> and is the same approach as in fcp.c:fcp_usb().
>
> Fixes: 9e4d5c1be21f ("ALSA: usb-audio: Scarlett Gen 2 mixer interface")
> Closes: https://github.com/geoffreybennett/linux-fcp/issues/41
> Cc: stable@vger.kernel.org
> Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Thanks, applied now.
Takashi
prev parent reply other threads:[~2025-07-28 10:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-28 9:30 [PATCH] ALSA: scarlett2: Add retry on -EPROTO from scarlett2_usb_tx() Geoffrey D. Bennett
2025-07-28 10:25 ` Takashi Iwai [this message]
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=87cy9kvchq.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=g@b4.vu \
--cc=linux-sound@vger.kernel.org \
--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.