diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-18 11:13:54 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-18 08:36:21 -0700 |
commit | dbf8c11f821b6ff83302c34f2403b4f7231f50ae (patch) | |
tree | ba637dc39a49ae0dce4430b44b07d2f7638d5fd2 /drivers/mtd/mtdpart.c | |
parent | bac9caf016bf147af7d3afbe7580a7f773cb1566 (diff) |
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/mtdpart.c')
0 files changed, 0 insertions, 0 deletions