]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/dma/mmp_tdma.c
Merge tag 'xfs-5.5-merge-17' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux.git] / drivers / dma / mmp_tdma.c
index e7d1e12bf4643e3ae9a35e1cd9881a2505a1c34a..10117f271b12b2cfb540438b4cd979e92da3d265 100644 (file)
@@ -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;
 }