summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2008-01-24 12:48:37 +0200
committerKyungmin Park <kyungmin.park@samsung.com>2008-01-29 17:07:06 +0900
commitd0b36d8cc8f345ec5faadd15daaecfb409b94523 (patch)
tree5a11d46c1289728501e300c770eae44bd8da935f /drivers/mtd/onenand
parentd0bf37932ac98cc793da2164ac1a4656fbf34bbc (diff)
downloadop-kernel-dev-d0b36d8cc8f345ec5faadd15daaecfb409b94523.zip
op-kernel-dev-d0b36d8cc8f345ec5faadd15daaecfb409b94523.tar.gz
[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 ed9f9c0..e5882b6 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;
OpenPOWER on IntegriCloud