mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 11:01:43 +00:00
mmc: sh_mobile_sdhi: enable HS200
Setup tuning when the board is HS200 enabled. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
03c5b0d903
commit
b1c95170f9
@ -651,7 +651,9 @@ static int sh_mobile_sdhi_probe(struct platform_device *pdev)
|
||||
goto efree;
|
||||
|
||||
/* Enable tuning iff we have an SCC and a supported mode */
|
||||
if (of_data && of_data->scc_offset && host->mmc->caps & MMC_CAP_UHS_SDR104) {
|
||||
if (of_data && of_data->scc_offset &&
|
||||
(host->mmc->caps & MMC_CAP_UHS_SDR104 ||
|
||||
host->mmc->caps2 & MMC_CAP2_HS200_1_8V_SDR)) {
|
||||
const struct sh_mobile_sdhi_scc *taps = of_data->taps;
|
||||
bool hit = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user