* [PATCH] dmaengine: imx-sdma: dovetail: Fix duplicate unlock
@ 2026-11-25 11:44 Jan Kiszka
2026-11-25 14:14 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2026-11-25 11:44 UTC (permalink / raw)
To: Philippe Gerum, Xenomai
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);
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dmaengine: imx-sdma: dovetail: Fix duplicate unlock
2026-11-25 11:44 [PATCH] dmaengine: imx-sdma: dovetail: Fix duplicate unlock Jan Kiszka
@ 2026-11-25 14:14 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2026-11-25 14:14 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Xenomai
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-25 14:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 11:44 [PATCH] dmaengine: imx-sdma: dovetail: Fix duplicate unlock Jan Kiszka
2026-11-25 14:14 ` Philippe Gerum
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.