]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: gpmi-nand: utilize oob_requested parameter
authorBrian Norris <computersforpeace@gmail.com>
Wed, 2 May 2012 17:15:02 +0000 (10:15 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:23 +0000 (08:35 +0200)
commit58a217ccbfb25c905dcc061b971de56724b05abd
treeb3fbfa23a76863f7c0a78403eea3fee8cc5ac701
parentf65aa0eb600a5b8113ec7bb1332d080a3a122e44
mtd: gpmi-nand: utilize oob_requested parameter

Don't read OOB if the caller didn't request it.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c