android_kernel_xiaomi_sm8350/drivers/mtd/devices
David Brownell 3cb4f09fc2 [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>
2006-03-14 07:57:17 -08:00
..
blkmtd.c [PATCH] blkmtd: use clear_page_dirty() 2005-12-12 08:57:41 -08:00
block2mtd.c
doc2000.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
doc2001.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
doc2001plus.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
docecc.c
docprobe.c
Kconfig [PATCH] build kernel/intermodule.c only when required 2006-01-16 23:15:26 -08:00
lart.c
m25p80.c [PATCH] spi: misc fixes 2006-01-13 16:29:56 -08:00
Makefile [PATCH] spi: M25 series SPI flash 2006-01-13 16:29:55 -08:00
ms02-nv.c
ms02-nv.h
mtd_dataflash.c [PATCH] mtd_dataflash, fix block vs page erase 2006-03-14 07:57:17 -08:00
mtdram.c
phram.c
pmc551.c
slram.c