diff options
author | Markus Stockhausen <markus.stockhausen@gmx.de> | 2025-08-04 04:03:26 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2025-09-23 12:33:17 +0200 |
commit | ca90147e55a78441794aef5cb4a8d1cf8d0e209f (patch) | |
tree | 5a2c66acfca579389715ee3931688fac2a34946d /scripts/generate_rust_analyzer.py | |
parent | e7a25106335041aeca4fdf50a84804c90142c886 (diff) |
clocksource/drivers/timer-rtl-otto: Drop set_counter function
The current counter value is a read only register. It will be
reset when writing a new target timer value with rttm_set_period().
rttm_set_counter() is essentially a noop. Drop it.
While this makes rttm_start_timer() and rttm_enable_timer() the
same functions keep both to make the established abstraction layers
for register and control functions active.
Downstream has already tested and confirmed a patch. See
https://github.com/openwrt/openwrt/pull/19468
https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/3788
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Stephen Howell <howels@allthatwemight.be>
Tested-by: Bjørn Mork <bjorn@mork.no>
Link: https://lore.kernel.org/r/20250804080328.2609287-3-markus.stockhausen@gmx.de
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions