Message ID | 20220623123353.2570410-1-festevam@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 0951a90e343d20b62daa7720da61f124b1c32d71 |
Headers | show |
Series | dmaengine: imx-sdma: Improve the SDMA irq name | expand |
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
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;