commit | e58e68d93e7d73e42eac850ff0dafc634bf0d397 | [log] [tgz] |
---|---|---|
author | Weijie Gao <weijie.gao@mediatek.com> | Thu Nov 12 16:37:07 2020 +0800 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Sun Jan 24 21:39:27 2021 +0100 |
tree | 8233cef73db1a92ea653a0df8fb1b4cea886f6cb | |
parent | 2a505cd1c733880c139ff62ef0a89ec36fcde72c [diff] |
mmc: mtk-sd: assign plat->cfg.f_max with a correct value Currently this driver does not set the value of plat->cfg.f_max, which results in that MMC framework will always run at the lowest frequency. This patch sets plat->cfg.f_max to the maximum allowed frequency, which equals to the source clock frequency. Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>