commit | 0f546b058b86ea2f661cc7a6e931cee5a29959ef | [log] [tgz] |
---|---|---|
author | Gary Bisson <gary.bisson@boundarydevices.com> | Tue Apr 25 16:45:15 2017 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Wed May 31 09:17:03 2017 +0200 |
tree | 3dc648d773d83e9881b46d910e56d7d7a8c356c5 | |
parent | 2de9261c18c2b09a8025872bb470853dc8db726c [diff] |
rtc: m41t80: fix SQW dividers override when setting a date This patch is only relevant for RTC with the SQ_ALT feature which means the clock output frequency divider is stored in the weekday register. Current implementation discards the previous dividers value and clear them as soon as the time is set. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>