Re: [PATCH v2] pinctrl: nomadik: Add check for clk_enable()
From: Linus Walleij
Date: Tue Dec 17 2024 - 09:07:25 EST
On Fri, Dec 6, 2024 at 11:13 PM Mingwei Zheng <zmw12306@xxxxxxxxx> 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@xxxxxxxxx>
> Signed-off-by: Jiasheng Jiang <jiashengjiangcool@xxxxxxxxx>
Oh I took out v1 and applied this instead, I didn't see the bug
but luckily you did!
Yours,
Linus Walleij