mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
2b708df2b3
commit
40a7a463a8
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue