sh: prevent the DMA driver from unloading, while in use
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 21 May 2010 15:28:51 +0000 (15:28 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 22 May 2010 08:06:34 +0000 (17:06 +0900)
commit7a5c106a0e8fd03a806d0da77eef10b4045c43a6
tree610e6c8474d0d6d9947c3c90509b85319076841a
parent85b8e3ffc47b2a1913be3079e9f1c1f66a6240b2
sh: prevent the DMA driver from unloading, while in use

This prevents the driver from unloading, while it is in use. Unloading of the
driver, while its DMA channels are held, leads to a kernel Oops.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/shdma.c