Re: [PATCH v7 02/11] omap_hsmmc: add support for pre_req and post_req

2011-06-22 Thread Per Forlin
On 22 June 2011 11:31, Per Forlin wrote: > On 22 June 2011 10:51, Nickolay Nickolaev wrote: >> Hello, >> >> this one's causing me compilation trouble troubles when CONFIG_DMA_ENGINE is >> not defined. >> > I don't see this issue when I compile the kernel for a Pandaboard > without CONFIG_DMA_ENGI

Re: [PATCH v7 02/11] omap_hsmmc: add support for pre_req and post_req

2011-06-22 Thread Per Forlin
On 22 June 2011 10:51, Nickolay Nickolaev wrote: > Hello, > > this one's causing me compilation trouble troubles when CONFIG_DMA_ENGINE is > not defined. > I don't see this issue when I compile the kernel for a Pandaboard without CONFIG_DMA_ENGINE being set. Could you please clarify or show me you

Re: [PATCH v7 02/11] omap_hsmmc: add support for pre_req and post_req

2011-06-22 Thread Nickolay Nickolaev
Hello, this one's causing me compilation trouble troubles when CONFIG_DMA_ENGINE is not defined. On Wed, Jun 22, 2011 at 2:38 AM, Per Forlin wrote: > > @@ -2077,6 +2155,7 @@ static int __init omap_hsmmc_probe(struct > platform_device *pdev) >host->mapbase = res->start; >host->

[PATCH v7 02/11] omap_hsmmc: add support for pre_req and post_req

2011-06-21 Thread Per Forlin
pre_req() runs dma_map_sg(), post_req() runs dma_unmap_sg. If not calling pre_req() before omap_hsmmc_request() dma_map_sg will be issued before starting the transfer. It is optional to use pre_req(). If issuing pre_req() post_req() must be to be called as well. Signed-off-by: Per Forlin --- dri

[PATCH v7 02/11] omap_hsmmc: add support for pre_req and post_req

2011-06-21 Thread Per Forlin
pre_req() runs dma_map_sg(), post_req() runs dma_unmap_sg. If not calling pre_req() before omap_hsmmc_request() dma_map_sg will be issued before starting the transfer. It is optional to use pre_req(). If issuing pre_req() post_req() must be to be called as well. Signed-off-by: Per Forlin --- dri