OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85b8e3f
)
sh: prevent the DMA driver from unloading, while in use
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Fri, 21 May 2010 15:28:51 +0000
(15:28 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Sat, 22 May 2010 08:06:34 +0000
(17:06 +0900)
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
patch
|
blob
|
history
diff --git
a/drivers/dma/shdma.c
b/drivers/dma/shdma.c
index
a172752
..
427d514
100644
(file)
--- a/
drivers/dma/shdma.c
+++ b/
drivers/dma/shdma.c
@@
-1188,6
+1188,7
@@
static struct platform_driver sh_dmae_driver = {
.remove = __exit_p(sh_dmae_remove),
.shutdown = sh_dmae_shutdown,
.driver = {
+ .owner = THIS_MODULE,
.name = "sh-dma-engine",
},
};