[MTD] [OneNAND] Do not release chip twice

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 3 02:59:01 EST 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d0b36d8cc8f345ec5faadd15daaecfb409b94523
Commit:     d0b36d8cc8f345ec5faadd15daaecfb409b94523
Parent:     d0bf37932ac98cc793da2164ac1a4656fbf34bbc
Author:     Adrian Hunter <ext-adrian.hunter at nokia.com>
AuthorDate: Thu Jan 24 12:48:37 2008 +0200
Committer:  Kyungmin Park <kyungmin.park at samsung.com>
CommitDate: Tue Jan 29 17:07:06 2008 +0900

    [MTD] [OneNAND] Do not release chip twice
    
    Signed-off-by: Adrian Hunter <ext-adrian.hunter at nokia.com>
    Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
 drivers/mtd/onenand/onenand_base.c |    3 ---
 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;



More information about the linux-mtd-cvs mailing list