diff options
author | Minjian Wu <minjianwu@micron.com> | 2013-08-25 07:25:12 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-08-25 07:25:36 +0400 |
commit | 84532e33975bd8fc969c77c8a2a980df2ec096a5 (patch) | |
tree | 6760e091521f1305cd47f599a77ba3467925e065 /drivers/mmc/core/mmc_ops.c | |
parent | 8efb83a2f8518a6ffcc074177f8d659c5165ef37 (diff) | |
download | linux-84532e33975bd8fc969c77c8a2a980df2ec096a5.tar.xz |
mmc: core: Set data timeout for mmc bus test commands (CMD14 and CMD19).
Signed-off-by: Minjian Wu <minjianwu@micron.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/mmc_ops.c')
-rw-r--r-- | 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 index 837fc7386e23..ef183483d5b6 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -531,6 +531,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; |