summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2008-01-24 11:48:37 +0100
committerKyungmin Park <kyungmin.park@samsung.com>2008-01-29 09:07:06 +0100
commitd0b36d8cc8f345ec5faadd15daaecfb409b94523 (patch)
tree5a11d46c1289728501e300c770eae44bd8da935f /drivers/mtd/onenand
parent[MTD] [NAND] fix s3c2410 error correction (diff)
downloadlinux-d0b36d8cc8f345ec5faadd15daaecfb409b94523.tar.xz
linux-d0b36d8cc8f345ec5faadd15daaecfb409b94523.zip
[MTD] [OneNAND] Do not release chip twice
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/onenand_base.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index ed9f9c061ac5..e5882b609cf1 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -1447,9 +1447,6 @@ static int onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to,
buf += thislen;
}
- /* Deselect and wake up anyone waiting on the device */
- onenand_release_device(mtd);
-
ops->retlen = written;
return ret;