summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-rx8025.c
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2016-02-09 11:57:27 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-14 17:08:17 +0100
commit31d4d33ef431364972f4a38401f660a2ec935cde (patch)
treebbfccf5b20e1ed35931e7d0aff550bb31dbf2099 /drivers/rtc/rtc-rx8025.c
parent6cc4c8b1e3790c63b2e1b6d9b25d2bda6e406572 (diff)
downloadblackbird-op-linux-31d4d33ef431364972f4a38401f660a2ec935cde.tar.gz
blackbird-op-linux-31d4d33ef431364972f4a38401f660a2ec935cde.zip
rtc: pcf85063: fix time/date setting
When setting a new time/date the RTC's clock must be stopped first, in order to write the time/date registers in an atomic manner. So, this change stops the clock first and then writes the time/date registers and the clock control register (to re-enable the clock) in one turn. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-rx8025.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud