platform: msm_shared: Change max timeout value for sdhci
Lower timeout value is causing data timeout error for some
commands like (CMD38, erase). Even if the command completed
successfully due to timeout expiry both data complete & data
timeout are set together. To avoid such issues set the timeout
value to max supported value for the controller.
Change-Id: I1016befff7549ec4b7150f017e98df6d48f6a959
diff --git a/platform/msm_shared/include/sdhci.h b/platform/msm_shared/include/sdhci.h
index 0c15c06..ca525f4 100644
--- a/platform/msm_shared/include/sdhci.h
+++ b/platform/msm_shared/include/sdhci.h
@@ -262,7 +262,7 @@
#define SDHCI_ADMA_MASK BIT(9)
#define SDHCI_READ_MODE BIT(4)
#define SDHCI_SWITCH_CMD 6
-#define SDHCI_CMD_TIMEOUT 0xE
+#define SDHCI_CMD_TIMEOUT 0xF
#define SDHCI_MAX_CMD_RETRY 10000
#define SDHCI_MAX_TRANS_RETRY 100000