diff options
| author | Andreas Gabriel-Platschek <andi.platschek@gmail.com> | 2026-02-09 06:34:39 +0100 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-02-20 23:12:25 +0100 |
| commit | 969c3cca0f3b88682cd833cee4cf01b0915629a3 (patch) | |
| tree | 51060ba998dcd7534c21b4437ad3875dc9f60bb4 /lib/livepatch | |
| parent | 76e8919aef2dca25a07a0d6480e486ebe5e9ea79 (diff) | |
rtc: ds1390: fix number of bytes read from RTC
The spi_write_then_read() reads 8 bytes starting from
DS1390_REG_SECONDS (== 0x01), so the last byte read would already
be part of the alarm (Tenths and Hundredths of Seconds) feature.
However 7 bytes are engouh -- seconds (0x01), minutes (0x02), hours (0x03),
day (0x04), date (0x05), month/century (0x06) and year (0x07).
Signed-off-by: Andreas Gabriel-Platschek <andi.platschek@gmail.com>
Link: https://patch.msgid.link/20260209053439.313825-1-andi.platschek@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'lib/livepatch')
0 files changed, 0 insertions, 0 deletions
