summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2015-08-06 16:23:26 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2015-08-17 12:45:27 +0200
commit40a7a463a80ae9e3b85a9fd85cf704fb9ac28b6f (patch)
tree306b4ec2b04c8d1995a181e749e45630122bb0f9 /drivers/mmc
parent2b708df2b3edf6e91a4c8d89e7aedb0f861d0e41 (diff)
downloadop-kernel-dev-40a7a463a80ae9e3b85a9fd85cf704fb9ac28b6f.zip
op-kernel-dev-40a7a463a80ae9e3b85a9fd85cf704fb9ac28b6f.tar.gz
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/dw_mmc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 091df65..f8ac14a 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -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;
}
OpenPOWER on IntegriCloud