projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dmaengine: fsldma: Fix a resource leak in the remove function
[linux-2.6-microblaze.git]
/
drivers
/
dma
/
fsldma.c
diff --git
a/drivers/dma/fsldma.c
b/drivers/dma/fsldma.c
index
0feb323
..
554f70a
100644
(file)
--- a/
drivers/dma/fsldma.c
+++ b/
drivers/dma/fsldma.c
@@
-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);