dmaengine: fsldma: Fix a resource leak in the remove function
[linux-2.6-microblaze.git] / drivers / dma / fsldma.c
index 0feb323..554f70a 100644 (file)
@@ -1314,6 +1314,7 @@ static int fsldma_of_remove(struct platform_device *op)
                if (fdev->chan[i])
                        fsl_dma_chan_remove(fdev->chan[i]);
        }
+       irq_dispose_mapping(fdev->irq);
 
        iounmap(fdev->regs);
        kfree(fdev);