From: Takashi Iwai <tiwai@suse.de>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: linux-sound@vger.kernel.org, Takashi Iwai <tiwai@suse.de>
Subject: Re: [PATCH v2] ALSA: pcm: update state after xrun
Date: Thu, 12 Nov 2026 13:35:58 +0100 [thread overview]
Message-ID: <87o6burzv5.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261112094636.13671-1-mikachu@gmail.com>
On Thu, 12 Nov 2026 10:46:36 +0100,
Mikael Magnusson wrote:
>
> If the snd_pcm_update_hw_ptr call from snd_pcm_status is what triggers
> the xrun state (eg, as opposed to an IRQ), the returned status->state
> was stale and told userspace the device was still playing, so they could
> get confused about device state and hang indefinitely.
>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=222201
> Signed-off-by: Mikael Magnusson <mikachu@gmail.com>
Applied now. Thanks.
Takashi
prev parent reply other threads:[~2026-11-12 12:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 9:46 [PATCH v2] ALSA: pcm: update state after xrun Mikael Magnusson
2026-11-12 12:35 ` 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=87o6burzv5.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-sound@vger.kernel.org \
--cc=mikachu@gmail.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