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

From: Roland Stigge
Date: Sun Jun 03 2012 - 15:49:43 EST


Hi!

Thanks for the suggestions!

On 03/06/12 21:09, Russell King - ARM Linux wrote:
>> + 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.

Thanks,

Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/