2017-04-11 11:14:07

by Piotr Sroka

[permalink] [raw]
Subject: [PATCH] mmc: sdhci-cadence: add parsing sdhci properties

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 12:20:39

by Masahiro Yamada

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

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

2017-04-11 12:22:34

by Adrian Hunter

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

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;
>

2017-04-12 14:11:46

by Ulf Hansson

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

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
>