Skip to content

Commit

Permalink
mmc: sdhci-cadence: add parsing sdhci properties
Browse files Browse the repository at this point in the history
Add calling sdhci_get_of_property function to parse sdhci properties.

Signed-off-by: Piotr Sroka <piotrs@cadence.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
Piotr Sroka authored and Ulf Hansson committed Apr 24, 2017
1 parent ec5ab89 commit 861183f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mmc/host/sdhci-cadence.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ static int sdhci_cdns_probe(struct platform_device *pdev)
host->mmc_host_ops.hs400_enhanced_strobe =
sdhci_cdns_hs400_enhanced_strobe;

sdhci_get_of_property(pdev);

ret = mmc_of_parse(host->mmc);
if (ret)
goto free;
Expand Down

0 comments on commit 861183f

Please sign in to comment.