aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2024-11-13 12:30:32 +0100
committerAlexandre Belloni <[email protected]>2024-11-18 12:04:59 +0100
commit55727188dfa3572aecd946e58fab9e4a64f06894 (patch)
tree96e01f0bb240f0e7f55cfb71b6d856cc9d8717aa /tools/perf/scripts/python/export-to-sqlite.py
parent6cc79a6295719ff917b1fe191c681f642854b3f9 (diff)
rtc: rzn1: fix BCD to rtc_time conversion errors
tm_mon describes months from 0 to 11, but the register contains BCD from 1 to 12. tm_year contains years since 1900, but the BCD contains 20XX. Apply the offsets when converting these numbers. Fixes: deeb4b5393e1 ("rtc: rzn1: Add new RTC driver") Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions