]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clocksource/drivers/arm_arch_timer_mmio: Prevent driver unbind
authorJohan Hovold <johan@kernel.org>
Tue, 11 Nov 2025 15:32:24 +0000 (16:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:19 +0000 (14:03 +0100)
commit364752785f7dfa2d1455c3e56fccb1cf08c3b0d8
tree78c211111b8c17b2a9be9febcd5ac80770477ac3
parent9876d55a04457317eede51d2bb43d0148790895d
clocksource/drivers/arm_arch_timer_mmio: Prevent driver unbind

[ Upstream commit 6aa10f0e2ef9eba1955be6a9d0a8eaecf6bdb7ae ]

Clockevents cannot be deregistered so suppress the bind attributes to
prevent the driver from being unbound and releasing the underlying
resources after registration.

Fixes: 4891f01527bb ("clocksource/drivers/arm_arch_timer: Add standalone MMIO driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://patch.msgid.link/20251111153226.579-2-johan@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clocksource/arm_arch_timer_mmio.c