Skip to content

Commit

Permalink
[MTD] [OneNAND] Do not release chip twice
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
  • Loading branch information
Adrian Hunter authored and Kyungmin Park committed Jan 29, 2008
1 parent d0bf379 commit d0b36d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/mtd/onenand/onenand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d0b36d8

Please sign in to comment.