commit | dbf8c11f821b6ff83302c34f2403b4f7231f50ae | [log] [tgz] |
---|---|---|
author | Peter Korsgaard <jacmet@sunsite.dk> | Mon May 18 11:13:54 2009 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon May 18 08:36:21 2009 -0700 |
tree | ba637dc39a49ae0dce4430b44b07d2f7638d5fd2 | |
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>