aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2008-01-24 05:48:37 -0500
committerKyungmin Park <kyungmin.park@samsung.com>2008-01-29 03:07:06 -0500
commitd0b36d8cc8f345ec5faadd15daaecfb409b94523 (patch)
tree5a11d46c1289728501e300c770eae44bd8da935f /drivers/mtd
parentd0bf37932ac98cc793da2164ac1a4656fbf34bbc (diff)
[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')
-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,
1447 buf += thislen; 1447 buf += thislen;
1448 } 1448 }
1449 1449
1450 /* Deselect and wake up anyone waiting on the device */
1451 onenand_release_device(mtd);
1452
1453 ops->retlen = written; 1450 ops->retlen = written;
1454 1451
1455 return ret; 1452 return ret;