Skip to content
Commit 4a70b7d3 authored by Mika Westerberg's avatar Mika Westerberg Committed by David Woodhouse
Browse files

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: default avatarMika Westerberg <ext-mika.1.westerberg@nokia.com>
Tested-by: default avatarArnaud Ebalard <arno@natisbad.org>
Acked-by: default avatarAdrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent ac39ee30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment