Thread (7 messages) flat view 7 messages, 3 authors, 2012-06-03

Re: [PATCH v4] MTD: LPC32xx SLC NAND driver

From: Russell King - ARM Linux <hidden>
Date: 2012-06-03 20:38:09
Also in: linux-arm-kernel, lkml

On Sun, Jun 03, 2012 at 09:49:40PM +0200, Roland Stigge wrote:
Hi!

Thanks for the suggestions!

On 03/06/12 21:09, Russell King - ARM Linux wrote:
quoted
quoted
+	dma_async_issue_pending(host->dma_chan);
+
+	wait_for_completion_timeout(&host->comp, msecs_to_jiffies(1000));
What about unmapping the buffer upon completion?
OK - by not specifying DMA_COMPL_SKIP_*_UNMAP in flags, I was thinking
that this happens somehow magically. ;-) But maybe I was just confused.
Slave transfers should never be automatically unmapped by the DMA engine
driver.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help