mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 13:03:25 +01:00
clocksource/drivers/asm9260: Add missing clk_disable_unprepare in asm9260_timer_init
Add the missing clk_disable_unprepare() before return in asm9260_timer_init(). Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Link: https://lore.kernel.org/r/20240803064253.331946-2-cuigaosheng1@huawei.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
parent
ca140a0dc0
commit
6cc11b65e5
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ static int __init asm9260_timer_init(struct device_node *np)
|
|||
DRIVER_NAME, &event_dev);
|
||||
if (ret) {
|
||||
pr_err("Failed to setup irq!\n");
|
||||
clk_disable_unprepare(clk);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue