mtd: IFC NAND: utilize oob_required parameter
authorBrian Norris <computersforpeace@gmail.com>
Wed, 2 May 2012 17:15:01 +0000 (10:15 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:21:48 +0000 (23:21 -0500)
commita6976cdfe69756436ed8c22b7a03e47a7efe36fb
tree18c5520d52a0e48796c1f4afd5a4b6c2827f058f
parentd112dc7fa65882279434622a40cbe7677a780c46
mtd: IFC NAND: utilize oob_required parameter

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

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_ifc_nand.c