[PATCH v2] pinctrl: nomadik: Add check for clk_enable()

Linus Walleij linus.walleij at linaro.org
Tue Dec 17 06:07:00 PST 2024


On Fri, Dec 6, 2024 at 11:13 PM Mingwei Zheng <zmw12306 at gmail.com> wrote:

> Add check for the return value of clk_enable() to catch the potential
> error.
> Disable success clks in the error handling.
> Change return type of nmk_gpio_glitch_slpm_init casade.
>
> Fixes: 3a19805920f1 ("pinctrl: nomadik: move all Nomadik drivers to subdir")
> Signed-off-by: Mingwei Zheng <zmw12306 at gmail.com>
> Signed-off-by: Jiasheng Jiang <jiashengjiangcool at gmail.com>

Oh I took out v1 and applied this instead, I didn't see the bug
but luckily you did!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list