aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/task_ls_recursion.c
diff options
context:
space:
mode:
authorDario Binacchi <[email protected]>2021-04-25 16:59:23 +0200
committerAlexandre Belloni <[email protected]>2021-04-29 23:37:18 +0200
commite463786f380ab28f1ca6e34ea65bbc2e03b2d325 (patch)
tree4f911aebf24ff0352fe13deda5d6919bac3cb961 /tools/testing/selftests/bpf/progs/task_ls_recursion.c
parentfefbec3a741831bc7791a94a483ad55665160b50 (diff)
rtc: omap: use rtc_write to access OMAP_RTC_OSC_REG
The RTC_OSC_REG register is 32-bit, but the useful information is found in the 7 least significant bits (bits 7-31 are reserved). And in fact, as you can see from the code, all read accesses are 8-bit, as well as some writes. Let's make sure all writes are 8-bit. Moreover, in contexts where consecutive reads / writes after the busy check must take place within 15 us, it is better not to waste time on useless accesses. Signed-off-by: Dario Binacchi <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/task_ls_recursion.c')
0 files changed, 0 insertions, 0 deletions