aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
authorNicolas Pitre <nico@fluxnic.net>2009-10-23 16:02:42 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-11-30 04:44:07 -0500
commitc9f7ec30848637989b85a9f0ac5d4aa33c49916e (patch)
treeff01cd5ba206c170c20cf5f435e0a637ee57fd55 /drivers/mtd/chips
parentf369c7ec94da63fc68cf7fa43516414888865c14 (diff)
mtd: add missing put_chip() in cfi_intelext_reset()
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>
Diffstat (limited to 'drivers/mtd/chips')
-rw-r--r--drivers/mtd/chips/cfi_cmdset_0001.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c
index e7563a9872d0..d923a2d88f9c 100644
--- 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)
2564 if (!ret) { 2564 if (!ret) {
2565 map_write(map, CMD(0xff), chip->start); 2565 map_write(map, CMD(0xff), chip->start);
2566 chip->state = FL_SHUTDOWN; 2566 chip->state = FL_SHUTDOWN;
2567 put_chip(map, chip, chip->start);
2567 } 2568 }
2568 spin_unlock(chip->mutex); 2569 spin_unlock(chip->mutex);
2569 } 2570 }