Thread (20 messages) read the whole thread 20 messages, 5 authors, 2025-08-13

Re: [PATCH v1 3/7] clocksource/drivers/sun5i: Add module owner

From: Chen-Yu Tsai <hidden>
Date: 2025-06-03 04:41:47
Also in: linux-sunxi, linux-tegra, lkml

On Mon, Jun 2, 2025 at 11:19 PM Daniel Lezcano
[off-list ref] wrote:
The conversion to modules requires a correct handling of the module
refcount in order to prevent to unload it if it is in use. That is
especially true with the clockevents where there is no function to
unregister them.

The core time framework correctly handles the module refcount with the
different clocksource and clockevents if the module owner is set.

Add the module owner to make sure the core framework will prevent
stupid things happening when the driver will be converted into a
module.

Signed-off-by: Daniel Lezcano <redacted>
Acked-by: Chen-Yu Tsai <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help