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:
f369c7e
)
mtd: add missing put_chip() in cfi_intelext_reset()
author
Nicolas Pitre
<nico@fluxnic.net>
Fri, 23 Oct 2009 20:02:42 +0000
(16:02 -0400)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:44:07 +0000
(09:44 +0000)
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_cmdset_0001.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/chips/cfi_cmdset_0001.c
b/drivers/mtd/chips/cfi_cmdset_0001.c
index e7563a9872d0af6404f64adae9610a9fffad027f..d923a2d88f9c6ac41dafd6b5e5f8e1a66716888f 100644
(file)
--- a/
drivers/mtd/chips/cfi_cmdset_0001.c
+++ b/
drivers/mtd/chips/cfi_cmdset_0001.c
@@
-2564,6
+2564,7
@@
static int cfi_intelext_reset(struct mtd_info *mtd)
if (!ret) {
map_write(map, CMD(0xff), chip->start);
chip->state = FL_SHUTDOWN;
+ put_chip(map, chip, chip->start);
}
spin_unlock(chip->mutex);
}