[PATCH v6 02/11] omap_hsmmc: add support for pre_req and post_req
Kishore Kadiyala
kishorek.kadiyala at gmail.com
Tue Jun 21 01:41:50 EDT 2011
<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
More information about the linux-arm-kernel
mailing list