diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2009-10-23 16:02:42 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-11-30 09:44:07 +0000 |
commit | c9f7ec30848637989b85a9f0ac5d4aa33c49916e (patch) | |
tree | ff01cd5ba206c170c20cf5f435e0a637ee57fd55 /drivers/mtd/chips/cfi_cmdset_0001.c | |
parent | f369c7ec94da63fc68cf7fa43516414888865c14 (diff) | |
download | op-kernel-dev-c9f7ec30848637989b85a9f0ac5d4aa33c49916e.zip op-kernel-dev-c9f7ec30848637989b85a9f0ac5d4aa33c49916e.tar.gz |
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/cfi_cmdset_0001.c')
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0001.c | 1 |
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 e7563a9..d923a2d 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) if (!ret) { map_write(map, CMD(0xff), chip->start); chip->state = FL_SHUTDOWN; + put_chip(map, chip, chip->start); } spin_unlock(chip->mutex); } |