]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d29f05c5573fbcbd8ae77a1647a72f423b72b81
tree610e6c8474d0d6d9947c3c90509b85319076841a
parent646d21087daf4c9f76c45f7544c8c43143f490ac
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