mtd: fsmc_nand: add missing DMA unmap to dma_xfer()
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 5 Nov 2012 10:00:14 +0000 (10:00 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:04:59 +0000 (22:04 -0800)
commitd1806a5c4d2248d2799f4367dbdb1800be94a26f
tree6c9bfb121641de1f4acfaa9612ff6186f2094f3f
parent522d974451743abcf674cbebd7c29d44fbd63586
mtd: fsmc_nand: add missing DMA unmap to dma_xfer()

Make dma_xfer() do DMA unmapping itself and fix handling
of failure cases.

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Vipin Kumar <vipin.kumar@st.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Dan Williams <djbw@fb.com>
drivers/mtd/nand/fsmc_nand.c