drivers: sdhc: imx_usdhc: extend reset timeout duration

Some instances of the USDHC peripheral take longer to reset, and will
timeout with the previous delay of 100 cycles. Extend this delay to 1000
cycles to resolve this.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse
2024-05-10 22:03:39 +00:00
committed by Anas Nashif
parent da9361e544
commit bf61a47887

View File

@@ -279,7 +279,7 @@ static int imx_usdhc_reset(const struct device *dev)
#endif
/* Reset data/command/tuning circuit */
return USDHC_Reset(cfg->base, kUSDHC_ResetAll, 100U) == true ? 0 : -ETIMEDOUT;
return USDHC_Reset(cfg->base, kUSDHC_ResetAll, 1000U) == true ? 0 : -ETIMEDOUT;
}
/*