kernel_optimize_test/drivers/mtd/nand/gpmi-nand
Sascha Hauer 6023813a2d mtd: gpmi-nand: fix read page when reading to vmalloced area
The gpmi-nand driver uses virt_addr_valid() to check whether a buffer
is suitable for dma. If it's not, a driver allocated buffer is used
instead. Then after a page read the driver allocated buffer must be
copied to the user supplied buffer. This does not happen since commit
7725cc8593.

This patch fixes the issue. The bug is encountered with UBI which uses a
vmalloced buffer for the volume table.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: snijsure@grid-net.com
Acked-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-07-06 15:06:23 +01:00
..
bch-regs.h mtd: gpmi: add gpmi support for mx6q 2012-05-13 23:22:29 -05:00
gpmi-lib.c mtd: gpmi: add gpmi support for mx6q 2012-05-13 23:22:29 -05:00
gpmi-nand.c mtd: gpmi-nand: fix read page when reading to vmalloced area 2012-07-06 15:06:23 +01:00
gpmi-nand.h mtd: gpmi: add gpmi support for mx6q 2012-05-13 23:22:29 -05:00
gpmi-regs.h
Makefile