summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand/onenand_base.c
diff options
context:
space:
mode:
authorAdrian Hunter <ext-adrian.hunter@nokia.com>2007-03-08 13:20:12 +0300
committerDavid Woodhouse <dwmw2@infradead.org>2007-03-08 13:45:04 +0300
commit74641d75275936796d239f828b80cb030e9f9b0a (patch)
tree8364efdc01c453d429db53e24cf2655e69d1f7d5 /drivers/mtd/onenand/onenand_base.c
parentf8a922c7bb4d93bd84b7371a8e2571e667d2afb5 (diff)
downloadlinux-74641d75275936796d239f828b80cb030e9f9b0a.tar.xz
[MTD] Correct partition failed erase address
If an erase operation fails, the address at which the failure occurred is returned by the driver. The MTD partition must adjust this address (by subtracting the partition offset) before returning to the caller. This was not happening, which caused JFFS2 to mark the wrong block bad! Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/onenand/onenand_base.c')
0 files changed, 0 insertions, 0 deletions