]> www.infradead.org Git - mtd-utils.git/commit
nandwrite: merge `mtd_write_oob' and `mtd_write' calls
authorBrian Norris <computersforpeace@gmail.com>
Wed, 31 Aug 2011 20:00:35 +0000 (13:00 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 13:11:41 +0000 (16:11 +0300)
commit040c937ca2c5ae1f35c24a3cc0154e9a31df5933
treee96ca73166ed52360d1036be1c8e0d3ce896bf23
parent6a8889fbc0ea7a198628c9e3901fd88038e12d09
nandwrite: merge `mtd_write_oob' and `mtd_write' calls

Now that `mtd_write' can write to both OOB and data regions, we need to
perform our `mtd_write' call only once.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
nandwrite.c