summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPavan Kunapuli <pkunapuli@nvidia.com>2013-05-02 22:12:24 +0530
committerRiham Haidar <rhaidar@nvidia.com>2013-05-07 12:26:40 -0700
commit1c48c746ea721f95c594c08f5f1320ba78de40e4 (patch)
tree2279785a850c2e704d41467c60a96cced13ad83f /drivers
parentafebf28f22a86468f1d96e380aa86dbfb36c08a1 (diff)
mmc: core: Retries WAR for SDIO RW CMD
Adding WAR to have 3 retries for SDIO RW CMD52. Bug 1281367 Change-Id: I1167126d46021f6725f5fe91ebdf8e9d85a106e6 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/224935 Reviewed-by: R Raj Kumar <rrajk@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/core/sdio_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio_ops.c b/drivers/mmc/core/sdio_ops.c
index d29e20630eed..bc69df322280 100644
--- a/drivers/mmc/core/sdio_ops.c
+++ b/drivers/mmc/core/sdio_ops.c
@@ -86,7 +86,7 @@ static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn,
cmd.arg |= in;
cmd.flags = MMC_RSP_SPI_R5 | MMC_RSP_R5 | MMC_CMD_AC;
- err = mmc_wait_for_cmd(host, &cmd, 0);
+ err = mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES);
if (err)
return err;