Re: [PATCH] mmc: sdhci-cadence: add parsing sdhci properties

From: Adrian Hunter
Date: Tue Apr 11 2017 - 08:22:38 EST


On 11/04/17 14:13, Piotr Sroka wrote:
> Add calling sdhci_get_of_property function to parse sdhci properties.
>
> Signed-off-by: Piotr Sroka <piotrs@xxxxxxxxxxx>

Acked-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

> ---
> drivers/mmc/host/sdhci-cadence.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-cadence.c b/drivers/mmc/host/sdhci-cadence.c
> index 7797e98..19d5698 100644
> --- a/drivers/mmc/host/sdhci-cadence.c
> +++ b/drivers/mmc/host/sdhci-cadence.c
> @@ -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;
>