diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mmc/renesas-sdhi.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 7f37d7af186..23db2a75c44 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -798,9 +798,12 @@ static int renesas_sdhi_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,  #if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT) || \      CONFIG_IS_ENABLED(MMC_HS200_SUPPORT) || \      CONFIG_IS_ENABLED(MMC_HS400_SUPPORT) +	struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev);  	struct tmio_sd_priv *priv = dev_get_priv(dev); +	struct mmc *mmc = upriv->mmc; -	renesas_sdhi_check_scc_error(dev); +	if (!mmc->tuning) +		renesas_sdhi_check_scc_error(dev);  	if (cmd->cmdidx == MMC_CMD_SEND_STATUS)  		renesas_sdhi_adjust_hs400_mode_enable(priv); | 
