OSDN Git Service

dmaengine: mmp_tdma: add missed of_dma_controller_free
authorChuhong Yuan <hslester96@gmail.com>
Fri, 15 Nov 2019 08:31:00 +0000 (16:31 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 22 Nov 2019 05:21:29 +0000 (10:51 +0530)
commitc236ba4ae7183c1add8dbce91b27c700f7ef4168
treef60200c694e86b7e8c772b7b1b72778a09afcc63
parenta7e335deed174a37fc6f84f69caaeff8a08f8ff8
dmaengine: mmp_tdma: add missed of_dma_controller_free

The driver calls of_dma_controller_register in probe but does not free
it in remove.
Add the call to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20191115083100.12220-1-hslester96@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mmp_tdma.c