linux/drivers/clocksource/timer-armada-370-xp.c
Yuho Choi 8b4127f6db clocksource/drivers/armada: Unwind timer clock on init failure
The Armada timer init paths enable their clock before calling the
common initialization routine. If that routine returns an error, the
clock is left enabled even though the timer was not initialized
successfully.

Fixes: 12549e27c6 ("clocksource/drivers/time-armada-370-xp: Convert init function to return error")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260802213545.565913-1-dbgh9129@gmail.com
2026-08-13 18:13:15 +02:00

428 lines
10 KiB