]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerDan Williams <djbw@fb.com>
Sat, 17 Nov 2012 02:04:08 +0000 (18:04 -0800)
commit450cad7ee37006c8a1d2f1dcd0b2192b8b74a244
tree4cb5e216c3eea574f11c384f16da5ff0a88b03e4
parent75280289e90ec77814fc7e7669fb5762b3a6646b
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