dmaengine: jz4780: Kill tasklets before unregistering the device
authorAlex Smith <alex.smith@imgtec.com>
Fri, 24 Jul 2015 16:24:27 +0000 (17:24 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 18 Aug 2015 16:58:50 +0000 (22:28 +0530)
commitae9c02b421139c4c44340b019e250a9969a91613
treea1a62adeffd8d80b74da68f147ef10f7a344a4e7
parentd509a83cea8a64478c7899f28e961543b6569cfc
dmaengine: jz4780: Kill tasklets before unregistering the device

Tasklets may have been scheduled as a result of an earlier interrupt
that could still be running. Kill them before unregistering the
device.

Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: dmaengine@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dma-jz4780.c