summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/cmdlinepart.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-12-14 17:07:57 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-01-06 15:13:25 +0000
commitbeda1d49941765c0765e0f3cb95b4a86de67745d (patch)
tree285df96da600a384a86ca30a642d64bc52afe668 /drivers/mtd/cmdlinepart.c
parent4ccb3b4497ce01fab4933704fe21581e30fda1a5 (diff)
Revert "mtd: nand: add check for out of page read"
This reverts commit e14feafbe0d5c6d64bb6fe4eba928cb57ac9a4c8. The commit limits the maximum amount of bytes which can be read at one go to the OOB size, which is incorrect, because mtd->read_oob() allows reading multiple pages at a time, see comment near "struct mtd_oob_ops" at include/linux/mtd/mtd.h. So this patch breaks ABI and hence, has to be reverted. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions