Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0b36d8c authored by Adrian Hunter's avatar Adrian Hunter Committed by Kyungmin Park
Browse files

[MTD] [OneNAND] Do not release chip twice

parent d0bf3793
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;