diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2025-08-04 17:23:32 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2025-09-23 12:29:45 +0200 |
commit | 13cea8527c95e1359191347abe5d94cccc47a311 (patch) | |
tree | 0a818aa9053aa2aa3eb2c08d4611e7964beacd53 /rust/kernel/alloc/allocator_test.rs | |
parent | fcf25b4427c7d1edb91dd02753d6153fb25da094 (diff) |
clocksource/drivers/vf-pit: Enable and disable module on error
Encapsulate the calls to writel to enable and disable the PIT module
and make use of them. Add the missing module disablement in case of
error.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20250804152344.1109310-15-daniel.lezcano@linaro.org
Diffstat (limited to 'rust/kernel/alloc/allocator_test.rs')
0 files changed, 0 insertions, 0 deletions