Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions drivers/sdhc/imx_usdhc.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,14 @@ static void imx_usdhc_error_recovery(const struct device *dev)

if (status & kUSDHC_CommandInhibitFlag) {
/* Reset command line */
if (!USDHC_Reset(base, kUSDHC_ResetCommand, 100U)) {
if (!USDHC_Reset(base, kUSDHC_ResetCommand, 1000U)) {
LOG_ERR("Failed to reset command line");
}
}
if (((status & (uint32_t)kUSDHC_DataInhibitFlag) != 0U) ||
(USDHC_GetAdmaErrorStatusFlags(base) != 0U)) {
/* Reset data line */
if (!USDHC_Reset(base, kUSDHC_ResetData, 100U)) {
if (!USDHC_Reset(base, kUSDHC_ResetData, 1000U)) {
LOG_ERR("Failed to reset data line");
}
}
Expand Down Expand Up @@ -568,7 +568,7 @@ static int imx_usdhc_execute_tuning(const struct device *dev)
transfer.data = &data;

/* Reset tuning circuit */
USDHC_Reset(base, kUSDHC_ResetTuning, 100U);
USDHC_Reset(base, kUSDHC_ResetTuning, 1000U);
/* Disable standard tuning */
USDHC_EnableStandardTuning(base, IMX_USDHC_STANDARD_TUNING_START, IMX_USDHC_TUNING_STEP,
false);
Expand Down