Skip to content

Commit

Permalink
mmc: dw_mmc: print the message for deprecated property
Browse files Browse the repository at this point in the history
supports-highspeed was deprecated.
If someone use it, we need to notice information for it.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
  • Loading branch information
Jaehoon Chung authored and Ulf Hansson committed Aug 17, 2015
1 parent 2b708df commit 40a7a46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/mmc/host/dw_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 40a7a46

Please sign in to comment.