[PATCH v10] pinctrl: stm32: Add check for clk_enable()

Antonio Borneo antonio.borneo at foss.st.com
Tue Jan 7 03:03:43 PST 2025


On Mon, 2025-01-06 at 17:06 -0500, Mingwei Zheng wrote:
> Convert the driver to clk_bulk*() API.
> Add check for the return value of clk_bulk_enable() to catch
> the potential error.
> 
> Fixes: 05d8af449d93 ("pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested")
> Signed-off-by: Mingwei Zheng <zmw12306 at gmail.com>
> Signed-off-by: Jiasheng Jiang <jiashengjiangcool at gmail.com>
> ---
> Changelog:
> 
> v9 -> v10:
> 1. Move the id assignment into pctl->clks[i].clk assignment loop.
> 2. Remove empty lines.

Reviewed-by: Antonio Borneo <antonio.borneo at foss.st.com>

Thanks!
Antonio



More information about the linux-arm-kernel mailing list