diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-01-23 10:41:47 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 05:41:52 (GMT) |
commit | 6aae7ffa33072e6d3a208039ac015c1a0fb51e37 (patch) | |
tree | 1eb14912f08a6129cb086054085967d873eaaf77 /drivers/md/linear.h | |
parent | 616f5ef61338a53e997eebbe2c13b21c40df9b86 (diff) | |
download | linux-6aae7ffa33072e6d3a208039ac015c1a0fb51e37.tar.xz |
rtc: sun6i: Add some locking
commit a9422a19ce270a22fc520f2278fb7e80c58be508 upstream.
Some registers have a read-modify-write access pattern that are not atomic.
Add some locking to prevent from concurrent accesses.
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/linear.h')
0 files changed, 0 insertions, 0 deletions