mtd: nand: utilize oob_required parameter
authorBrian Norris <computersforpeace@gmail.com>
Wed, 2 May 2012 17:15:03 +0000 (10:15 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:21:57 +0000 (23:21 -0500)
commit279f08d4ef6548be4e2fa638245adebc77436e54
treefd3e1587109063069206bf1825459be891e3a6f1
parent7725cc85932bd02dd12c23108e0ef748c551ccba
mtd: nand: utilize oob_required parameter

Don't read/write OOB if the caller doesn't require it.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c