All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Xenomai <xenomai@lists.linux.dev>
Subject: Re: [PATCH] dmaengine: imx-sdma: dovetail: Fix duplicate unlock
Date: Wed, 25 Nov 2026 15:14:54 +0100	[thread overview]
Message-ID: <87tsl50zhd.fsf@xenomai.org> (raw)
In-Reply-To: <5b39f820-a86d-4265-93a0-74b5569b71a8@siemens.com> (Jan Kiszka's message of "Wed, 25 Nov 2026 12:44:14 +0100")

Jan Kiszka <jan.kiszka@siemens.com> writes:

> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> The dovetail conversion forgot to drop the spin_unlock which is supposed
> to be replaced with the vchan_unlock some lines later.
>
> Reported-by: opencode:Opus-5.5
> Fixes: 187b1d6237e5, v7.1-dovetail-rebase ("dmaengine: imx-sdma: dovetail: enable out-of-band operations")
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>  drivers/dma/imx-sdma.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
> index 22c7cccc60179..5414df2269d4d 100644
> --- a/drivers/dma/imx-sdma.c
> +++ b/drivers/dma/imx-sdma.c
> @@ -986,7 +986,6 @@ static unsigned long sdma_do_channels(struct sdma_engine *sdma,
>  			}
>  		}
>  
> -		spin_unlock(&sdmac->vc.lock);
>  		__clear_bit(channel, &stat);
>  	next:
>  		vchan_unlock(&sdmac->vc);

Merged, thanks.

-- 
Philippe.

      reply	other threads:[~2026-11-25 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 11:44 [PATCH] dmaengine: imx-sdma: dovetail: Fix duplicate unlock Jan Kiszka
2026-11-25 14:14 ` Philippe Gerum [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=87tsl50zhd.fsf@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=jan.kiszka@siemens.com \
    --cc=xenomai@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.