Message ID | 87vbg9v6qh.fsf@belgarion.home (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index 9f80d51..5295fb7 100644 --- a/drivers/dma/pxa_dma.c +++ b/drivers/dma/pxa_dma.c @@ -1293,7 +1293,7 @@ static int pxad_init_phys(struct platform_device *op, ret = devm_request_irq(&op->dev, irq, pxad_chan_handler, IRQF_SHARED, "pxa-dma", phy); - if ((nr_irq == 1) && (irq == 0)) + if ((nr_irq == 1) && (i == 0)) ret = devm_request_irq(&op->dev, irq0, pxad_int_handler, IRQF_SHARED, "pxa-dma", pdev);