[MTD] [OneNAND] Do not release chip twice
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Thu, 24 Jan 2008 10:48:37 +0000 (12:48 +0200)
committerKyungmin Park <kyungmin.park@samsung.com>
Tue, 29 Jan 2008 08:07:06 +0000 (17:07 +0900)
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c

index ed9f9c061ac520e47f4cd0699c3bde05741d70b5..e5882b609cf15094bc22db8d57850dd791a4a2f4 100644 (file)
@@ -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;