lkml.org 
[lkml]   [2023]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] ALSA: pcmtest: stop timer before buffer is released
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

\
 
 \ /
  Last update: 2023-12-07 08:35    [W:0.022 / U:1.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site