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

Commit 40a7a463 authored by Jaehoon Chung's avatar Jaehoon Chung Committed by Ulf Hansson
Browse files

mmc: dw_mmc: print the message for deprecated property



supports-highspeed was deprecated.
If someone use it, we need to notice information for it.

Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 2b708df2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2696,8 +2696,10 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
			return ERR_PTR(ret);
	}

	if (of_find_property(np, "supports-highspeed", NULL))
	if (of_find_property(np, "supports-highspeed", NULL)) {
		dev_info(dev, "supports-highspeed property is deprecated.\n");
		pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
	}

	return pdata;
}