summaryrefslogtreecommitdiffstats
path: root/sound/isa
diff options
context:
space:
mode:
authorAndreas Pape <apape@de.adit-jv.com>2022-09-26 18:58:13 +0200
committerTakashi Iwai <tiwai@suse.de>2022-09-27 08:55:05 +0200
commitd1c442019594692c64a70a86ad88eb5b6db92216 (patch)
tree129b3c435f9c80da6a2d50b0386939a05762b988 /sound/isa
parentusb: gadget: Replace runtime->status->state reference to runtime->state (diff)
downloadlinux-d1c442019594692c64a70a86ad88eb5b6db92216.tar.xz
linux-d1c442019594692c64a70a86ad88eb5b6db92216.zip
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 <apape@de.adit-jv.com> Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> Link: https://lore.kernel.org/r/1664211493-11789-1-git-send-email-erosca@de.adit-jv.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions