summaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk_main.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-12-14 23:10:10 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-12-18 10:37:52 +0100
commit54c5970df449103ec1181b92d41a2d14a79fe562 (patch)
treea0add8400bd06b4f4d9c2045b5b3da32e9108072 /drivers/block/null_blk_main.c
parent609e97fe31a4d1acf7bc0411277e43a4de13db44 (diff)
downloadlinux-54c5970df449103ec1181b92d41a2d14a79fe562.tar.bz2
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 'drivers/block/null_blk_main.c')
0 files changed, 0 insertions, 0 deletions