mirror of https://gitee.com/openkylin/linux.git
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: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
parent
2b708df2b3
commit
40a7a463a8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue