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