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

2 messages, 1 author, 2011-06-22 · open the first message on its own page

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

From: Per Forlin <hidden>
Date: 2011-06-22 09:31:18

On 22 June 2011 10:51, Nickolay Nickolaev [off-list ref] 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 your build log?
I don't see how host->next_data.cookie is connected to DMA_ENGINE.
On Wed, Jun 22, 2011 at 2:38 AM, Per Forlin [off-list ref] wrote:
quoted
@@ -2077,6 +2155,7 @@ static int __init omap_hsmmc_probe(struct
platform_device *pdev)
? ? ? ?host->mapbase ? = res->start;
? ? ? ?host->base ? ? ?= ioremap(host->mapbase, SZ_4K);
? ? ? ?host->power_mode = MMC_POWER_OFF;
+ ? ? ? host->next_data.cookie = 1;

? ? ? ?platform_set_drvdata(pdev, host);
? ? ? ?INIT_WORK(&host->mmc_carddetect_work, omap_hsmmc_detect);
--
1.7.4.1
Maybe we can wrap it in a function as the others.

regards,
Nikolay Nikolaev
Regards,
Per

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

From: Per Forlin <hidden>
Date: 2011-06-22 09:38:43

On 22 June 2011 11:31, Per Forlin [off-list ref] wrote:
On 22 June 2011 10:51, Nickolay Nickolaev [off-list ref] wrote:
quoted
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 your build log?
I don't see how host->next_data.cookie is connected to DMA_ENGINE.
I think you are referring to the mmci-patch. I'll fix the issue in mmci.
quoted
On Wed, Jun 22, 2011 at 2:38 AM, Per Forlin [off-list ref] wrote:
quoted
@@ -2077,6 +2155,7 @@ static int __init omap_hsmmc_probe(struct
platform_device *pdev)
? ? ? ?host->mapbase ? = res->start;
? ? ? ?host->base ? ? ?= ioremap(host->mapbase, SZ_4K);
? ? ? ?host->power_mode = MMC_POWER_OFF;
+ ? ? ? host->next_data.cookie = 1;

? ? ? ?platform_set_drvdata(pdev, host);
? ? ? ?INIT_WORK(&host->mmc_carddetect_work, omap_hsmmc_detect);
--
1.7.4.1
Maybe we can wrap it in a function as the others.

regards,
Nikolay Nikolaev
Regards,
Per
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help