diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-12-14 23:10:10 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-12-18 10:37:52 +0100 |
commit | 54c5970df449103ec1181b92d41a2d14a79fe562 (patch) | |
tree | a0add8400bd06b4f4d9c2045b5b3da32e9108072 /Documentation/arm64 | |
parent | rtc: rv3029: remove open coded regmap_update_bits (diff) | |
download | linux-54c5970df449103ec1181b92d41a2d14a79fe562.tar.xz linux-54c5970df449103ec1181b92d41a2d14a79fe562.zip |
rtc: rv3029: remove race condition when update STATUS
There is no lock preventing concurrent access to the status register from
bth the rtc subsystem and the hwmon subsystem. Use regmap_update_bits to
ensure updating RV3029_STATUS is properly locked.
Link: https://lore.kernel.org/r/20191214221022.622482-5-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions