All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dmaengine: imx-sdma: Improve the SDMA irq name
@ 2022-06-23 12:33 Fabio Estevam
  2022-07-01 16:19 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2022-06-23 12:33 UTC (permalink / raw)
  To: vkoul; +Cc: dmaengine, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

On SoCs with several SDMA instances, such as i.MX8M for example,
all the SDMA related interrupts appear with the same "sdma" name.

Improve the SDMA irq name by associating it with the SDMA instance
via dev_name(), so that the SDMA irq names can be unique.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/dma/imx-sdma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 900cafdaf359..9710b2ba5978 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -2183,8 +2183,8 @@ static int sdma_probe(struct platform_device *pdev)
 	if (ret)
 		goto err_clk;
 
-	ret = devm_request_irq(&pdev->dev, irq, sdma_int_handler, 0, "sdma",
-			       sdma);
+	ret = devm_request_irq(&pdev->dev, irq, sdma_int_handler, 0,
+				dev_name(&pdev->dev), sdma);
 	if (ret)
 		goto err_irq;
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dmaengine: imx-sdma: Improve the SDMA irq name
  2022-06-23 12:33 [PATCH] dmaengine: imx-sdma: Improve the SDMA irq name Fabio Estevam
@ 2022-07-01 16:19 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2022-07-01 16:19 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: dmaengine, Fabio Estevam

On 23-06-22, 09:33, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> On SoCs with several SDMA instances, such as i.MX8M for example,
> all the SDMA related interrupts appear with the same "sdma" name.
> 
> Improve the SDMA irq name by associating it with the SDMA instance
> via dev_name(), so that the SDMA irq names can be unique.

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-01 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 12:33 [PATCH] dmaengine: imx-sdma: Improve the SDMA irq name Fabio Estevam
2022-07-01 16:19 ` Vinod Koul

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.