lkml.org 
[lkml]   [2019]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/9] mmc: sdhci-sprd: Check the enable clock's return value correctly
    From
    Date
    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@linaro.org>

    Acked-by: Adrian Hunter <adrian.hunter@intel.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;
    >
    >

    \
     
     \ /
      Last update: 2019-06-03 14:12    [W:7.083 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site