commit | 54dbda74475e4e6fa8fd353c2cc599bda51fc5cc | [log] [tgz] |
---|---|---|
author | Guy Shapiro <guy.shapiro@mobi-wize.com> | Sun Jan 29 11:57:19 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Dec 21 14:11:40 2018 +0100 |
tree | bfb99f77079de9dd1c010b4e606985c98e7b4045 | |
parent | 36764b4a4363ef6dc5a6335acd3157c9dc94ebe4 [diff] |
rtc: snvs: add a missing write sync [ Upstream commit 7bb633b1a9812a6b9f3e49d0cf17f60a633914e5 ] The clear of the LPTA_EN flag should be synced before writing to the alarm register. Omitting this synchronization creates a race when trying to change existing alarm. Signed-off-by: Guy Shapiro <guy.shapiro@mobi-wize.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Sasha Levin <sashal@kernel.org>