commit | 9b361884850d3f3277ecaaf04310ab346611428a | [log] [tgz] |
---|---|---|
author | Oliver Graute <oliver.graute@kococonnector.com> | Tue Apr 26 09:26:12 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu May 05 15:06:02 2022 -0400 |
tree | 755b37ec6c449c1c032080e62c77bff024bdfe04 | |
parent | 05c742874c5fff2528a19d0a5f8d5b40b3148431 [diff] |
rtc: rv8803: fix off-by-one in month counting tm_mon has a range from 0..11, but the RTC expects 1..12. So we adapt the month accordingly. This was determined when comparing the driver with the corresponding linux kernel driver. Signed-off-by: Oliver Graute <oliver.graute@kococonnector.com> Reviewed-by: Michael Walle <michael@walle.cc> Reviewed-by: Heiko Schocher <hs@denx.de>