lkml.org 
[lkml]   [2022]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ALSA: dmaengine: increment buffer pointer atomically
On Mon, 26 Sep 2022 18:58:13 +0200,
Eugeniu Rosca wrote:
>
> From: Andreas Pape <apape@de.adit-jv.com>
>
> Setting pointer and afterwards checking for wraparound leads
> to the possibility of returning the inconsistent pointer position.
>
> This patch increments buffer pointer atomically to avoid this issue.
>
> Fixes: e7f73a1613567a ("ASoC: Add dmaengine PCM helper functions")
> Signed-off-by: Andreas Pape <apape@de.adit-jv.com>
> Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>

Thanks, applied.


Takashi

\
 
 \ /
  Last update: 2022-09-27 08:56    [W:0.088 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site