Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- drivers/dma/imx-dma.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index 6f9ac20..7ef16e8 100644 --- a/drivers/dma/imx-dma.c +++ b/drivers/dma/imx-dma.c @@ -167,6 +167,7 @@ struct imxdma_channel { u32 ccr_to_device; bool enabled_2d; int slot_2d; + char name[6]; }; enum imx_dma_type { @@ -1111,7 +1112,7 @@ static int __init imxdma_probe(struct platform_device *pdev) } ret = devm_request_irq(&pdev->dev, irq_err, - imxdma_err_handler, 0, "DMA", imxdma); + imxdma_err_handler, 0, "DMAERR", imxdma); if (ret) { dev_warn(imxdma->dev, "Can't register ERRIRQ for DMA\n"); goto err; @@ -1145,8 +1146,10 @@ static int __init imxdma_probe(struct platform_device *pdev) struct imxdma_channel *imxdmac = &imxdma->channel[i]; if (!is_imx1_dma(imxdma)) { + sprintf(imxdmac->name, "DMA%i", i); ret = devm_request_irq(&pdev->dev, irq + i, - dma_irq_handler, 0, "DMA", imxdma); + dma_irq_handler, 0, + imxdmac->name, imxdma); if (ret) { dev_warn(imxdma->dev, "Can't register IRQ %d " "for DMA channel %d\n", -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html