Skip to content

Commit

Permalink
mmc: core: Set data timeout for mmc bus test commands (CMD14 and CMD19).
Browse files Browse the repository at this point in the history
Signed-off-by: Minjian Wu <minjianwu@micron.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
  • Loading branch information
Minjian Wu authored and Chris Ball committed Aug 25, 2013
1 parent 8efb83a commit 84532e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mmc/core/mmc_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 84532e3

Please sign in to comment.