linux/drivers/mtd/nand/raw/gpmi-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
..
bch-regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
gpmi-nand.c mtd: rawnand: gpmi: fix dst bit offset when extracting raw payload 2021-01-04 12:08:32 +01:00
gpmi-nand.h mtd: rawnand: gpmi: Implement exec_op 2019-06-27 20:05:30 +02:00
gpmi-regs.h mtd: rawnand: gpmi: Fix the driver only sense CS0 R/B issue 2020-12-10 22:37:33 +01:00
Makefile mtd: rawnand: gpmi: cleanup makefile 2020-12-10 22:37:31 +01:00