summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdblock_ro.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-05-18 11:13:54 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-18 08:36:21 -0700
commitdbf8c11f821b6ff83302c34f2403b4f7231f50ae (patch)
treeba637dc39a49ae0dce4430b44b07d2f7638d5fd2 /drivers/mtd/mtdblock_ro.c
parentbac9caf016bf147af7d3afbe7580a7f773cb1566 (diff)
downloadop-kernel-dev-dbf8c11f821b6ff83302c34f2403b4f7231f50ae.zip
op-kernel-dev-dbf8c11f821b6ff83302c34f2403b4f7231f50ae.tar.gz
mtd_dataflash: unbreak erase support
Commit 5b7f3a50 (fix dataflash 64-bit divisions) unfortunately introduced a typo. Erase addr and len were swapped in the pageaddr calculation, causing the wrong sectors to get erased. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Acked-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mtd/mtdblock_ro.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud