projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c6871
)
mtd: nomadik_nand: add missing nand_release in nomadik_nand_remove
author
Axel Lin
<axel.lin@gmail.com>
Fri, 3 Jun 2011 01:53:26 +0000
(09:53 +0800)
committer
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:01:59 +0000
(15:01 +0300)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/nomadik_nand.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/nomadik_nand.c
b/drivers/mtd/nand/nomadik_nand.c
index b6a5c86ab31e922e1ddcf81dc88257012d61ad08..b463ecfb4c1a248713073ab019efed1af2f3d538 100644
(file)
--- a/
drivers/mtd/nand/nomadik_nand.c
+++ b/
drivers/mtd/nand/nomadik_nand.c
@@
-187,6
+187,7
@@
static int nomadik_nand_remove(struct platform_device *pdev)
pdata->exit();
if (host) {
+ nand_release(&host->mtd);
iounmap(host->cmd_va);
iounmap(host->data_va);
iounmap(host->addr_va);