commit | f6b629c3e89e7ce23587959572164f4d95915c4a | [log] [tgz] |
---|---|---|
author | Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz> | Mon Jan 20 14:59:41 2025 +1300 |
committer | Tom Rini <trini@konsulko.com> | Sun Jan 26 11:33:13 2025 -0600 |
tree | a88fe8f53030680e93f9e4ed63d3ccbe2fef6cd7 | |
parent | ccf5119cef7555bfbb3f5acdd1679871f4316473 [diff] |
drivers: rtc: max313xx: Ensure correct date is read after setting When setting the time on the MAX31343, the time is not updated for one second, and reading the time in this interval will give the old time. Wait one second after writing so that the date command will show the correct time when setting the clock. Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz> Cc: Chris Packham <judge.packham@gmail.com> Reviewed-by: Chris Packham <judge.packham@gmail.com>