dmaengine: imx-sdma: Improve the SDMA irq name
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 dmaengine: imx-sdma: Improve the SDMA irq name
From: Fabio Estevam <[email protected]>
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 <[email protected]>
--- drivers/dma/imx-sdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma/imx-sdma.c +2 -2
@@ -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;
Signature · 1 line
2.25.1
Quoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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
Signature · 1 line
~Vinod