Skip to content
Commit 8b42439a authored by Oliver Graute's avatar Oliver Graute Committed by Tom Rini
Browse files

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: default avatarOliver Graute <oliver.graute@kococonnector.com>
Reviewed-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 27434703
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment