Skip to content

Commit 2ebf2e6

Browse files
Sai Krishna Potthurigregkh
authored andcommitted
mmc: sdhci-of-arasan: Increase CD stable timeout to 2 seconds
commit a9c4c90 upstream. On Xilinx/AMD platforms, the CD stable bit take slightly longer than one second(about an additional 100ms) to assert after a host controller reset. Although no functional failure observed with the existing one second delay but to ensure reliable initialization, increase the CD stable timeout to 2 seconds. Fixes: e251709 ("mmc: sdhci-of-arasan: Ensure CD logic stabilization before power-up") Cc: stable@vger.kernel.org Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 87e7467 commit 2ebf2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/sdhci-of-arasan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
#define HIWORD_UPDATE(val, mask, shift) \
100100
((val) << (shift) | (mask) << ((shift) + 16))
101101

102-
#define CD_STABLE_TIMEOUT_US 1000000
102+
#define CD_STABLE_TIMEOUT_US 2000000
103103
#define CD_STABLE_MAX_SLEEP_US 10
104104

105105
/**

0 commit comments

Comments
 (0)