All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: core: mmc bus test data timeout setting
@ 2013-07-26  5:06 Minjian Wu (minjianwu)
  2013-08-23 11:14 ` Ulf Hansson
  0 siblings, 1 reply; 3+ messages in thread
From: Minjian Wu (minjianwu) @ 2013-07-26  5:06 UTC (permalink / raw)
  To: linux-mmc

Add data timeout setting for mmc bus test command(CMD14 and CMD19).

Signed-off-by: Minjian Wu <minjianwu@micron.com>
---
 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; 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mmc: core: mmc bus test data timeout setting
  2013-07-26  5:06 [PATCH] mmc: core: mmc bus test data timeout setting Minjian Wu (minjianwu)
@ 2013-08-23 11:14 ` Ulf Hansson
  2013-08-25  3:26   ` Chris Ball
  0 siblings, 1 reply; 3+ messages in thread
From: Ulf Hansson @ 2013-08-23 11:14 UTC (permalink / raw)
  To: Minjian Wu (minjianwu); +Cc: linux-mmc

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

Acked-by: Ulf Hansson <ulf.hansson@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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mmc: core: mmc bus test data timeout setting
  2013-08-23 11:14 ` Ulf Hansson
@ 2013-08-25  3:26   ` Chris Ball
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Ball @ 2013-08-25  3:26 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: Minjian Wu (minjianwu), linux-mmc

Hi,

On Fri, Aug 23 2013, Ulf Hansson wrote:
> On 26 July 2013 07:06, Minjian Wu (minjianwu) <minjianwu@micron.com> wrote:
>> Add data timeout setting for mmc bus test command(CMD14 and CMD19).
>>
>> Signed-off-by: Minjian Wu <minjianwu@micron.com>
>
> Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

Thanks, pushed to mmc-next for 3.12.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-25  3:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26  5:06 [PATCH] mmc: core: mmc bus test data timeout setting Minjian Wu (minjianwu)
2013-08-23 11:14 ` Ulf Hansson
2013-08-25  3:26   ` Chris Ball

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.