summaryrefslogtreecommitdiffstats
path: root/arch/m32r/configs/m32700ut.smp_defconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-06-26 17:26:16 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-07-06 16:06:23 +0200
commit6023813a2d5949ba368e7df464f2ccb649719777 (patch)
treebbc874c7e097539bcc03a841a2ae45d79811413a /arch/m32r/configs/m32700ut.smp_defconfig
parentmtd: mxc_nand: use 32bit copy functions (diff)
downloadlinux-6023813a2d5949ba368e7df464f2ccb649719777.tar.xz
linux-6023813a2d5949ba368e7df464f2ccb649719777.zip
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 7725cc85932bd02dd12c23108e0ef748c551ccba. 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>
Diffstat (limited to 'arch/m32r/configs/m32700ut.smp_defconfig')
0 files changed, 0 insertions, 0 deletions