27 Sep
2022
27 Sep
'22
8:55 a.m.
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