diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 42ad10c3fce6..a6ced8dce879 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -1164,12 +1164,11 @@ retry: err = -EINVAL; goto free_card; } - +done: #if defined(CONFIG_SDC_QTI) card->clk_scaling_highest = mmc_sd_get_max_clock(card); card->clk_scaling_lowest = host->f_min; #endif -done: host->card = card; return 0;