From: Takashi Iwai <tiwai@suse.de>
To: Ivan Orlov <ivan.orlov0322@gmail.com>
Cc: tiwai@suse.com, perex@perex.cz, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] ALSA: pcmtest: stop timer before buffer is released
Date: Thu, 07 Dec 2023 08:33:36 +0100 [thread overview]
Message-ID: <87ttou1n73.wl-tiwai@suse.de> (raw)
In-Reply-To: <20231206223211.12761-1-ivan.orlov0322@gmail.com>
On Wed, 06 Dec 2023 23:32:11 +0100,
Ivan Orlov wrote:
>
> Stop timer in the 'trigger' and 'sync_stop' callbacks since we want
> the timer to be stopped before the DMA buffer is released. Otherwise,
> it could trigger a kernel panic in some circumstances, for instance
> when the DMA buffer is already released but the timer callback is
> still running.
>
> Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Thanks, applied now.
Takashi
prev parent reply other threads:[~2023-12-07 7:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-06 22:32 [PATCH v3] ALSA: pcmtest: stop timer before buffer is released Ivan Orlov
2023-12-07 7:33 ` 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=87ttou1n73.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=ivan.orlov0322@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