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
Merge branch 'for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu
[linux-2.6-microblaze.git]
/
drivers
/
dma
/
mmp_tdma.c
diff --git
a/drivers/dma/mmp_tdma.c
b/drivers/dma/mmp_tdma.c
index
e7d1e12
..
10117f2
100644
(file)
--- a/
drivers/dma/mmp_tdma.c
+++ b/
drivers/dma/mmp_tdma.c
@@
-544,6
+544,9
@@
static void mmp_tdma_issue_pending(struct dma_chan *chan)
static int mmp_tdma_remove(struct platform_device *pdev)
{
+ if (pdev->dev.of_node)
+ of_dma_controller_free(pdev->dev.of_node);
+
return 0;
}