Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1c95170 authored by Wolfram Sang's avatar Wolfram Sang Committed by Ulf Hansson
Browse files

mmc: sh_mobile_sdhi: enable HS200



Setup tuning when the board is HS200 enabled.

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 03c5b0d9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;