From: Takashi Iwai <tiwai@suse.de>
To: linux-sound@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: emux: Skip events until fully initialized
Date: Tue, 20 Oct 2026 15:15:31 +0200 [thread overview]
Message-ID: <8733u0h5sc.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261016161953.482441-1-tiwai@suse.de>
On Fri, 16 Oct 2026 18:19:52 +0200,
Takashi Iwai wrote:
>
> The emux synth creates a sequencer port and then continues
> initializing the port attributes. It allows the port receiving
> already input events even though the synth stuff hasn't been fully
> initialized. Similarly, upon the releasing, it clears up the voices,
> etc, then detaches the port. This may leave some pending voices
> before the detaching.
>
> For addressing such races, introduce a simple guard to skip the event
> processing in the premature or teardown phases.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Reported-by: Sashiko <sashiko-bot@kernel.org>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This doesn't look covering the issue enough, and I created a different
fix for emux synth, so let's scratch this one.
Takashi
prev parent reply other threads:[~2026-10-20 13:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 16:19 Takashi Iwai
2026-10-20 13:15 ` 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=8733u0h5sc.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
/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®