linux/drivers/mtd/nand
Sean Nyekjaer 4883a60c17 mtd: rawnand: gpmi: fix dst bit offset when extracting raw payload
Re-add the multiply by 8 to "step * eccsize" to correct the destination bit offset
when extracting the data payload in gpmi_ecc_read_page_raw().

Fixes: e5e5631cc8 ("mtd: rawnand: gpmi: Use nand_extract_bits()")
Cc: stable@vger.kernel.org
Reported-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201221100013.2715675-1-sean@geanix.com
2021-01-04 12:08:32 +01:00
..
onenand SPI NOR core changes: 2020-12-16 18:48:16 +01:00
raw mtd: rawnand: gpmi: fix dst bit offset when extracting raw payload 2021-01-04 12:08:32 +01:00
spi SPI NOR core changes: 2020-12-16 18:48:16 +01:00
bbt.c mtd: nand: Fix memory allocation in nanddev_bbt_init() 2018-11-28 15:41:50 +01:00
core.c mtd: nand: Add helpers to manage ECC engines and configurations 2020-12-10 22:37:30 +01:00
ecc-sw-bch.c mtd: nand: ecc-bch: Create the software BCH engine 2020-12-10 22:37:26 +01:00
ecc-sw-hamming.c mtd: nand: ecc-hamming: Clarify the logic around rp17 2020-12-10 22:37:31 +01:00
ecc.c mtd: spinand: Allow the case where there is no ECC engine 2020-12-10 22:37:30 +01:00
Kconfig mtd: nand: Change dependency between the NAND and ECC cores 2020-12-10 22:37:32 +01:00
Makefile mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00