[PATCH v1] rtc: rv8803: fix off-by-one in month counting
Michael Walle
michael at walle.cc
Tue Apr 26 09:29:50 CEST 2022
Am 2022-04-26 09:26, schrieb Oliver Graute:
> 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 at kococonnector.com>
Reviewed-by: Michael Walle <michael at walle.cc>
-michael
More information about the U-Boot
mailing list