]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: sdhci-of-arasan: Increase CD stable timeout to 2 seconds
authorSai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Fri, 12 Dec 2025 06:35:09 +0000 (12:05 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 17 Dec 2025 13:12:14 +0000 (14:12 +0100)
commita9c4c9085ec8ce3ce01be21b75184789e74f5f19
tree1be2630a6d08968fcd844c29a6da310641f86dc9
parented724ea1b82a800af4704311cb89e5ef1b4ea7ac
mmc: sdhci-of-arasan: Increase CD stable timeout to 2 seconds

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: e251709aaddb ("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>
drivers/mmc/host/sdhci-of-arasan.c