Re: [PATCH v3] ALSA: pcmtest: stop timer before buffer is released

From: Takashi Iwai
Date: Thu Dec 07 2023 - 02:33:43 EST


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@xxxxxxxxx>

Thanks, applied now.


Takashi