]> git.ipfire.org Git - thirdparty/linux.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)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 26 Nov 2025 10:24:47 +0000 (11:24 +0100)
commit6aa10f0e2ef9eba1955be6a9d0a8eaecf6bdb7ae
tree0bbbcef2d3b990a6acf3c6c5c6d47f86c9b47ce0
parentb452d2c97eeccbf9c7ac5b3d2d9e80bf6d8a23db
clocksource/drivers/arm_arch_timer_mmio: Prevent driver unbind

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
drivers/clocksource/arm_arch_timer_mmio.c