On 26 July 2013 07:06, Minjian Wu (minjianwu) <minjia...@micron.com> wrote:
> Add data timeout setting for mmc bus test command(CMD14 and CMD19).
>
> Signed-off-by: Minjian Wu <minjia...@micron.com>

Acked-by: Ulf Hansson <ulf.hans...@linaro.org>

> ---
>  drivers/mmc/core/mmc_ops.c                     |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
> --- a/drivers/mmc/core/mmc_ops.c
> +++ b/drivers/mmc/core/mmc_ops.c
> @@ -562,6 +562,7 @@ mmc_send_bus_test(struct mmc_card *card, struct mmc_host 
> *host, u8 opcode,
>
>         data.sg = &sg;
>         data.sg_len = 1;
> +       mmc_set_data_timeout(&data,card);
>         sg_init_one(&sg, data_buf, len);
>         mmc_wait_for_req(host, &mrq);
>         err = 0;
>
> --
> 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
--
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