diff options
author | David Brownell <david-b@pacbell.net> | 2006-03-13 21:20:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-14 07:57:17 -0800 |
commit | 3cb4f09fc2e98bbf26f8c900a94bf3910cd4d823 (patch) | |
tree | 3b0c652fedc40b673bf533f452dee83169655073 /drivers/mtd/devices/ms02-nv.h | |
parent | 3759fa9c55923f719ae944a3f8fbb029b36f759d (diff) |
[PATCH] mtd_dataflash, fix block vs page erase
Fix a bug in the block-erase optimization for Dataflash; it was using block
erase even for smaller segments that need page erase.
That wouldn't matter for JFFS2, which never erases less than one block
(sometimes several blocks), but for other callers it might.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd/devices/ms02-nv.h')
0 files changed, 0 insertions, 0 deletions