[PATCH v1] rtc: rv8803: fix off-by-one in month counting

Tom Rini trini at konsulko.com
Fri May 6 01:38:55 CEST 2022


On Tue, Apr 26, 2022 at 09:26:12AM +0200, Oliver Graute wrote:

> 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>
> Reviewed-by: Heiko Schocher <hs at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220505/91a754dd/attachment.sig>


More information about the U-Boot mailing list