Re: [PATCH 1/2] gpio: ftgpio: Support optional silicon clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 26, 2018 at 9:04 PM Andrew Lunn <andrew@xxxxxxx> wrote:

> > +     g->clk = devm_clk_get(dev, NULL);
> > +     if (!IS_ERR(g->clk)) {
> > +             ret = clk_prepare_enable(g->clk);
> > +             if (ret)
> > +                     return ret;
> > +     }
>
> Hi Linus
>
> Is there any chance devm_clk_get() could return -EPROBE_DIFFERED?

Not practically but I was convinced to move the bulk of clocks out of
CLK_OF_DECLARE_DRIVER so I guess theoretically it could happen.
So I guess I should re-spin with that as explict bailout condition.

Yours,
Linus Walleij



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux