linux/drivers/mtd/onenand
Mika Westerberg 4a70b7d395 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>
2010-05-10 14:17:05 +01:00
..
generic.c mtd: onenand: make onenand/generic.c more generic 2009-09-19 11:07:50 -07:00
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile [MTD] [OneNAND] Add OMAP2 / OMAP3 OneNAND driver 2008-08-12 11:07:37 +01:00
omap2.c mtd: OneNAND: OMAP2/3: unmap correct DMA buffer 2010-05-10 14:17:05 +01:00
onenand_base.c mtd: OneNAND: Fix test of unsigned in onenand_otp_walk() 2009-12-16 03:26:33 +00:00
onenand_bbt.c mtd: Flex-OneNAND support 2009-06-05 18:59:21 +01:00
onenand_sim.c mtd: Flex-OneNAND support 2009-06-05 18:59:21 +01:00