[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a3276a2f-f857-eaf8-11c2-fe383c47df8a@intel.com>
Date: Mon, 3 Jun 2019 15:09:53 +0300
From: Adrian Hunter <adrian.hunter@...el.com>
To: Baolin Wang <baolin.wang@...aro.org>, ulf.hansson@...aro.org,
zhang.lyra@...il.com, orsonzhai@...il.com, robh+dt@...nel.org,
mark.rutland@....com, arnd@...db.de, olof@...om.net
Cc: vincent.guittot@...aro.org, arm@...nel.org,
linux-arm-kernel@...ts.infradead.org, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH 1/9] mmc: sdhci-sprd: Check the enable clock's return
value correctly
On 20/05/19 1:11 PM, Baolin Wang wrote:
> Missed to check the enable clock's return value, fix it.
>
> Signed-off-by: Baolin Wang <baolin.wang@...aro.org>
Acked-by: Adrian Hunter <adrian.hunter@...el.com>
> ---
> drivers/mmc/host/sdhci-sprd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-sprd.c
> index 9a822e2..e741491 100644
> --- a/drivers/mmc/host/sdhci-sprd.c
> +++ b/drivers/mmc/host/sdhci-sprd.c
> @@ -368,7 +368,7 @@ static int sdhci_sprd_probe(struct platform_device *pdev)
> if (ret)
> goto pltfm_free;
>
> - clk_prepare_enable(sprd_host->clk_enable);
> + ret = clk_prepare_enable(sprd_host->clk_enable);
> if (ret)
> goto clk_disable;
>
>
Powered by blists - more mailing lists