android_kernel_xiaomi_sm8350/drivers/mtd/devices
Peter Korsgaard dbf8c11f82 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>
2009-05-18 08:36:21 -07:00
..
block2mtd.c [PATCH] propagate mode through open_bdev_excl/close_bdev_excl 2008-10-21 07:49:00 -04:00
doc2000.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
doc2001.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
doc2001plus.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
docecc.c [MTD] we don't need no misc devices 2009-03-20 13:16:26 +00:00
docprobe.c [MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers 2008-07-11 18:21:54 +01:00
Kconfig ps3/block: Replace mtd/ps3vram by block/ps3vram 2009-03-13 16:07:19 +11:00
lart.c [MTD] Make lart_flash_init, lart_flash_exit static 2008-12-10 13:00:26 +00:00
m25p80.c mtd: fix timeout in M25P80 driver 2009-05-08 13:51:53 +01:00
Makefile ps3/block: Replace mtd/ps3vram by block/ps3vram 2009-03-13 16:07:19 +11:00
ms02-nv.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd_dataflash: unbreak erase support 2009-05-18 08:36:21 -07:00
mtdram.c NOMMU: Present backing device capabilities for MTD chardevs 2009-03-24 09:00:19 +00:00
phram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pmc551.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
slram.c [MTD] slram: Handle negative devlength correctly 2009-01-19 12:24:21 +11:00