diff options
author | Wolfram Sang <[email protected]> | 2024-11-22 11:14:48 +0100 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2024-11-25 23:32:50 +0100 |
commit | 3ed345c948ef6ccd0f5dc85c5b6731593b4591f7 (patch) | |
tree | 7b596d3b43e5ba621b1725091694f0902d1de420 /drivers/rtc/rtc-cadence.c | |
parent | 692f983b2dc933f9c4f6255dc0a5f3df42110a2a (diff) |
rtc: rzn1: reduce register access
This RTC has special 32bit registers which return multiple of the same
8bit registers at once. Use these to minimize register access. Also, do
the to/from BCD conversions right away, so 'tm' always contains values
as described in time.h.
Signed-off-by: Wolfram Sang <[email protected]>
Acked-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/rtc/rtc-cadence.c')
0 files changed, 0 insertions, 0 deletions