diff options
author | Dario Binacchi <dariobin@libero.it> | 2021-06-02 22:38:02 +0200 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2021-06-09 22:23:44 +0530 |
commit | c7c7c8db00ace48f538f4b51d606cd6e4f537df1 (patch) | |
tree | ddad8ca0d3ae0935c932acc70bd95b6bb349f04d /drivers/timer | |
parent | 79250ef3e263ef23c16c3c06a50834f0dcca4426 (diff) |
rtc: davinci: use unlock/lock mechanism
The RTC module contains a kicker mechanism to prevent any spurious
writes from changing the register values. To set the time, you must
first unlock the TC registers, update them and then lock.
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210602203805.11494-6-dariobin@libero.it
Diffstat (limited to 'drivers/timer')
0 files changed, 0 insertions, 0 deletions