[PATCH] gpio: nomadik: Add check for clk_enable()

Linus Walleij linus.walleij at linaro.org
Sun Apr 13 00:44:27 PDT 2025


On Sat, Apr 12, 2025 at 9:31 PM Chenyuan Yang <chenyuan0y at gmail.com> wrote:

> Add check for the return value of clk_enable() to catch
> the potential error.
>
> This is similar to the commit 8332e6670997
> ("spi: zynq-qspi: Add check for clk_enable()").
>
> Signed-off-by: Chenyuan Yang <chenyuan0y at gmail.com>
> Fixes: 966942ae4936 ("gpio: nomadik: extract GPIO platform driver from drivers/pinctrl/nomadik/")

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list