public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Eugeniu Rosca <erosca@de.adit-jv.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
	Vinod Koul <vkoul@kernel.org>, Mark Brown <broonie@kernel.org>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	<alsa-devel@alsa-project.org>, <linux-kernel@vger.kernel.org>,
	Jiada Wang <jiada_wang@mentor.com>,
	Dean Jenkins <Dean_Jenkins@mentor.com>,
	Andreas Pape <apape@de.adit-jv.com>,
	Eugeniu Rosca <roscaeugeniu@gmail.com>
Subject: Re: [PATCH] ALSA: dmaengine: increment buffer pointer atomically
Date: Tue, 27 Sep 2022 08:55:30 +0200	[thread overview]
Message-ID: <87bkr1gvbx.wl-tiwai@suse.de> (raw)
In-Reply-To: <1664211493-11789-1-git-send-email-erosca@de.adit-jv.com>

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

      reply	other threads:[~2022-09-27  6:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26 16:58 [PATCH] ALSA: dmaengine: increment buffer pointer atomically Eugeniu Rosca
2022-09-27  6:55 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkr1gvbx.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Dean_Jenkins@mentor.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=apape@de.adit-jv.com \
    --cc=broonie@kernel.org \
    --cc=erosca@de.adit-jv.com \
    --cc=jiada_wang@mentor.com \
    --cc=lars@metafoo.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=roscaeugeniu@gmail.com \
    --cc=tiwai@suse.com \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox