diff options
| author | Mingwei Zheng <zmw12306@gmail.com> | 2025-01-06 17:06:59 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:57:33 +0100 |
| commit | cac84246365b392f494bbe36687fe4c02744cf2e (patch) | |
| tree | 78432cfe8c8a43ee42130d0c24fc18ec1f57bb56 /lib/debugobjects.c | |
| parent | fd0e32fe09af80ec92bd4ce80a2b79461e928a98 (diff) | |
| download | linux-cac84246365b392f494bbe36687fe4c02744cf2e.tar.gz linux-cac84246365b392f494bbe36687fe4c02744cf2e.tar.bz2 linux-cac84246365b392f494bbe36687fe4c02744cf2e.zip | |
pinctrl: stm32: Add check for clk_enable()
[ Upstream commit 451bc9aea9a1a6fe53969e81a5cb1bd785c0d989 ]
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@gmail.com>
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Reviewed-by: Antonio Borneo <antonio.borneo@foss.st.com>
Link: https://lore.kernel.org/20250106220659.2640365-1-zmw12306@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
