Merge "mmc: core: Fix uninitialized clock scaling's freq table"

This commit is contained in:
qctecmdr 2020-08-27 00:31:45 -07:00 • committed by Gerrit - the friendly Code Review server
commit 4be08dcbe9

View file

@ -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;