]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: sh_flctl: Only copy OOB data if it is required
authorBastian Hecht <hechtb@googlemail.com>
Thu, 5 Jul 2012 10:41:02 +0000 (12:41 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 24 Aug 2012 08:03:34 +0000 (11:03 +0300)
commit1120275b7e44454035142e4c8dde600cad6913af
tree2ba2dd6ab873035266532a3ba345adda00475fa0
parentaf7ab083f8b60184762cdedcc6e67a803102fdaa
mtd: sh_flctl: Only copy OOB data if it is required

Check the new oob_required flag and only copy the OOB data to the internal
buffer if needed.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
drivers/mtd/nand/sh_flctl.c