diff options
author | Andreas Pape <[email protected]> | 2022-09-26 18:58:13 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-09-27 08:55:05 +0200 |
commit | d1c442019594692c64a70a86ad88eb5b6db92216 (patch) | |
tree | 129b3c435f9c80da6a2d50b0386939a05762b988 /tools/perf/scripts/python/futex-contention.py | |
parent | 675b7cd16e21ce2452d4a11ed425996c34e5460c (diff) |
ALSA: dmaengine: increment buffer pointer atomically
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 <[email protected]>
Signed-off-by: Eugeniu Rosca <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions