Commit 085fedf7 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: mpc512x: kill the tasklets upon exit



drivers should ensure that tasklets are killed, so that they can't be
run after driver remove is executed

Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Cc: Mario Six <mario.six@gdsys.cc>
parent b63abf18
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1110,6 +1110,7 @@ static int mpc_dma_remove(struct platform_device *op)
	}
	free_irq(mdma->irq, mdma);
	irq_dispose_mapping(mdma->irq);
	tasklet_kill(&mdma->tasklet);

	return 0;
}