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
> Reviewed-
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
> ---
> drivers/rtc
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
Reviewed-by: Michael Walle
-michael
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
---
drivers/rtc/rv8803.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
4 matches
Mail list logo