summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/fsl_upm.c
diff options
context:
space:
mode:
authorMika Westerberg2010-03-24 11:10:48 +0100
committerDavid Woodhouse2010-05-10 15:17:05 +0200
commit4a70b7d3953c279738a094d2e5ffe7c66b15a5d0 (patch)
treed791145ce49044b85b0e782f22b8046b8ba76422 /drivers/mtd/nand/fsl_upm.c
parentmtd: Blackfin NFC: localize MMR bit masks (diff)
downloadkernel-qcow2-linux-4a70b7d3953c279738a094d2e5ffe7c66b15a5d0.tar.gz
kernel-qcow2-linux-4a70b7d3953c279738a094d2e5ffe7c66b15a5d0.tar.xz
kernel-qcow2-linux-4a70b7d3953c279738a094d2e5ffe7c66b15a5d0.zip
mtd: OneNAND: OMAP2/3: unmap correct DMA buffer
Functions omap2_onenand_write_bufferram() and omap3_onenand_write_bufferram() map the write buffer and store the returned handle in variable dma_src. However, when DMA unmap is done, variable dma_dst is used instead of the correct dma_src. This patch fixes them to use the correct DMA buffer. Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com> Tested-by: Arnaud Ebalard <arno@natisbad.org> Acked-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/fsl_upm.c')
0 files changed, 0 insertions, 0 deletions