
27 Apr
2022
27 Apr
'22
7:17 a.m.
Hello Oliver,
On 26.04.22 09:26, 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@kococonnector.com
drivers/rtc/rv8803.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This seems like a bug to me, good catch!
Reviewed-by: Heiko Schocher hs@denx.de
bye, Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de