mtd: eLBC NAND: utilize oob_required parameter
authorBrian Norris <computersforpeace@gmail.com>
Wed, 2 May 2012 17:15:00 +0000 (10:15 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 04:21:39 +0000 (23:21 -0500)
commitd112dc7fa65882279434622a40cbe7677a780c46
treead8a5625e0057cf87606006094c685a81834d7c0
parente47f3db4587c5486d3d5838fd4bef4f9c3b12205
mtd: eLBC 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_elbc_nand.c