public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "Cássio Gabriel" <cassiogabrielcontato@gmail.com>
Cc: Takashi Iwai <tiwai@suse.com>,
	Thomas Ebeling <penguins@bollie.de>,
	Ian Douglas Scott <ian@iandouglasscott.com>,
	Jaroslav Kysela <perex@perex.cz>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH 0/2] ALSA: usb-audio: Fix stale quirk control caches after write failures
Date: Wed, 29 Apr 2026 17:16:59 +0200	[thread overview]
Message-ID: <87tsstokyc.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260429-alsa-usb-quirks-cache-rollback-v1-0-01b35c688b80@gmail.com>

On Wed, 29 Apr 2026 15:20:00 +0200,
Cássio Gabriel wrote:
> 
> This series fixes stale software cache handling in several usb-audio
> mixer quirks.
> 
> A number of quirk callbacks update kcontrol->private_value before
> issuing vendor or class writes. When such a write fails, the driver can
> keep reporting and later replaying a value the device never accepted,
> because the corresponding get and resume paths consume the cached state.
> 
> - Patch 1 fixes the simple single-write quirk callbacks by restoring the
>   previous cache on error.
> - Patch 2 fixes the RME Babyface Pro packed-state callbacks by updating
>   the cache only after a successful write, since those helpers already
>   take explicit arguments and do not need private_value to be updated
>   before the USB request.
> 
> The split keeps the generic quirk fixes separate from the Babyface Pro
> packed-state logic and keeps each patch tied to its own introducing bug.
> 
> Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
> ---
> Cássio Gabriel (2):
>       ALSA: usb-audio: Roll back quirk control caches on write errors
>       ALSA: usb-audio: Update Babyface Pro control caches only after successful writes

Applied both to for-next branch.  Thanks.


Takashi

      parent reply	other threads:[~2026-04-29 15:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-29 13:20 [PATCH 0/2] ALSA: usb-audio: Fix stale quirk control caches after write failures Cássio Gabriel
2026-04-29 13:20 ` [PATCH 1/2] ALSA: usb-audio: Roll back quirk control caches on write errors Cássio Gabriel
2026-04-29 13:20 ` [PATCH 2/2] ALSA: usb-audio: Update Babyface Pro control caches only after successful writes Cássio Gabriel
2026-04-29 15:16 ` 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=87tsstokyc.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=cassiogabrielcontato@gmail.com \
    --cc=ian@iandouglasscott.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=penguins@bollie.de \
    --cc=perex@perex.cz \
    --cc=stable@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox