[PATCH 1/2] gpio: ftgpio: Support optional silicon clock
From: Linus Walleij <hidden>
Date: 2018-08-26 22:46:25
Also in:
linux-gpio
From: Linus Walleij <hidden>
Date: 2018-08-26 22:46:25
Also in:
linux-gpio
On Sun, Aug 26, 2018 at 9:04 PM Andrew Lunn [off-list ref] wrote:
quoted
+ 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