Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: imx-sdma: Improve the SDMA irq name

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>
Link: https://lore.kernel.org/r/20220623123353.2570410-1-festevam@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Fabio Estevam and committed by
Vinod Koul
0951a90e 3a4413b7

+2 -2
+2 -2
drivers/dma/imx-sdma.c
··· 2183 2183 if (ret) 2184 2184 goto err_clk; 2185 2185 2186 - ret = devm_request_irq(&pdev->dev, irq, sdma_int_handler, 0, "sdma", 2187 - sdma); 2186 + ret = devm_request_irq(&pdev->dev, irq, sdma_int_handler, 0, 2187 + dev_name(&pdev->dev), sdma); 2188 2188 if (ret) 2189 2189 goto err_irq; 2190 2190