Add calling sdhci_get_of_property function to parse sdhci properties.
Signed-off-by: Piotr Sroka <[email protected]>
---
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;
--
2.2.2
2017-04-11 20:13 GMT+09:00 Piotr Sroka <[email protected]>:
> Add calling sdhci_get_of_property function to parse sdhci properties.
>
> Signed-off-by: Piotr Sroka <[email protected]>
Reviewed-by: Masahiro Yamada <[email protected]>
Thanks!
--
Best Regards
Masahiro Yamada
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 <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
> ---
> 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;
>
On 11 April 2017 at 13:13, Piotr Sroka <[email protected]> wrote:
> Add calling sdhci_get_of_property function to parse sdhci properties.
>
> Signed-off-by: Piotr Sroka <[email protected]>
Thanks, applied for next!
Kind regards
Uffe
> ---
> 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;
> --
> 2.2.2
>