Thread (38 messages) 38 messages, 7 authors, 2011-07-03
STALE5457d

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

From: Kishore Kadiyala <hidden>
Date: 2011-06-21 05:41:50
Also in: linux-mmc

<snip>
+
+static void omap_hsmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq,
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?bool is_first_req)
I don't see the usage of "is_first_req" below.
Is it required?
+{
+ ? ? ? struct omap_hsmmc_host *host = mmc_priv(mmc);
+
+ ? ? ? if (mrq->data->host_cookie) {
+ ? ? ? ? ? ? ? mrq->data->host_cookie = 0;
+ ? ? ? ? ? ? ? return ;
+ ? ? ? }
+
+ ? ? ? if (host->use_dma)
+ ? ? ? ? ? ? ? if (omap_hsmmc_pre_dma_transfer(host, mrq->data,
+ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? &host->next_data))
+ ? ? ? ? ? ? ? ? ? ? ? mrq->data->host_cookie = 0;
+}
+
?/*
Regards,
Kishore
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help