projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00acf4a
)
mtd: OneNAND: OMAP2/3: free GPMC CS on module removal
author
Mika Korhonen
<
[email protected]
>
Thu, 25 Jun 2009 12:32:19 +0000
(15:32 +0300)
committer
David Woodhouse
<
[email protected]
>
Mon, 3 Aug 2009 13:22:16 +0000
(14:22 +0100)
GPMC CS was not freed in omap2_onenand_remove() preventing the module
from reloading after removal.
Signed-off-by: Mika Korhonen <
[email protected]
>
Signed-off-by: Artem Bityutskiy <
[email protected]
>
Signed-off-by: David Woodhouse <
[email protected]
>
drivers/mtd/onenand/omap2.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/onenand/omap2.c
b/drivers/mtd/onenand/omap2.c
index 6fac1f496d4ac74c76978527d64a783bed250abf..0108ed42e877b628d773f4ee847bccd47c98bbc7 100644
(file)
--- a/
drivers/mtd/onenand/omap2.c
+++ b/
drivers/mtd/onenand/omap2.c
@@
-770,6
+770,7
@@
static int __devexit omap2_onenand_remove(struct platform_device *pdev)
}
iounmap(c->onenand.base);
release_mem_region(c->phys_base, ONENAND_IO_SIZE);
+ gpmc_cs_free(c->gpmc_cs);
kfree(c);
return 0;