diff options
author | Johan Hovold <[email protected]> | 2023-02-02 16:54:43 +0100 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-02-25 23:34:22 +0100 |
commit | 3ca04951b004fa184ff84369448a37bf5df98a79 (patch) | |
tree | d76557ef9983260c47de1388f32aaebda5ca09a5 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 430aa33a304654704c16ed7bbbcbec9e9686aa81 (diff) |
rtc: pm8xxx: add support for nvmem offset
On many Qualcomm platforms the PMIC RTC control and time registers are
read-only so that the RTC time can not be updated. Instead an offset
needs be stored in some machine-specific non-volatile memory, which the
driver can take into account.
Add support for storing a 32-bit offset from the Epoch in an nvmem cell
so that the RTC time can be set on such platforms.
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions