Re: [PATCH] ALSA: dmaengine: increment buffer pointer atomically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 26 Sep 2022 18:58:13 +0200,
Eugeniu Rosca wrote:
> 
> From: Andreas Pape <apape@xxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Eugeniu Rosca <erosca@xxxxxxxxxxxxxx>

Thanks, applied.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux