aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
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;