<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
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to