[<prev] [next>] [day] [month] [year] [list]
Message-ID: <172564901467.2215.5276875950642161569.tip-bot2@tip-bot2>
Date: Fri, 06 Sep 2024 18:56:54 -0000
From: "tip-bot2 for Gaosheng Cui" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Gaosheng Cui <cuigaosheng1@...wei.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: timers/core] clocksource/drivers/asm9260: Add missing
clk_disable_unprepare in asm9260_timer_init
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 6cc11b65e5e0a6f1487274d1ad91088f7ac01d18
Gitweb: https://git.kernel.org/tip/6cc11b65e5e0a6f1487274d1ad91088f7ac01d18
Author: Gaosheng Cui <cuigaosheng1@...wei.com>
AuthorDate: Sat, 03 Aug 2024 14:42:52 +08:00
Committer: Daniel Lezcano <daniel.lezcano@...aro.org>
CommitterDate: Fri, 06 Sep 2024 14:49:21 +02: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@...wei.com>
Link: https://lore.kernel.org/r/20240803064253.331946-2-cuigaosheng1@huawei.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
---
drivers/clocksource/asm9260_timer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clocksource/asm9260_timer.c b/drivers/clocksource/asm9260_timer.c
index 5b39d37..8f97ab0 100644
--- a/drivers/clocksource/asm9260_timer.c
+++ b/drivers/clocksource/asm9260_timer.c
@@ -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;
}
Powered by blists - more mailing lists