diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-02-02 18:54:30 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-02-10 01:17:56 +0300 |
commit | 8d273f33fd090a2c270c67b6ac7fa03f5a7eee3f (patch) | |
tree | 8d035cd089d3162a41b99203829c9096adabb5d0 /fs/stack.c | |
parent | 182c23bbfea3713206b0da3fbbb7350e197a92dd (diff) | |
download | linux-8d273f33fd090a2c270c67b6ac7fa03f5a7eee3f.tar.xz |
rtc: pm8xxx: drop bogus locking
Since commit c8d523a4b053 ("drivers/rtc/rtc-pm8xxx.c: rework to support
pm8941 rtc") which removed the shadow control register there is no need
for a driver lock.
Specifically, the rtc ops are serialised by rtc core and the interrupt
handler only unconditionally disables the alarm using the alarm_ctrl
register.
Note that since only the alarm enable bit of alarm_ctrl is used after
enabling the RTC at probe, the locking was not needed when doing open
coded read-modify-write cycles either.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: David Collins <quic_collinsd@quicinc.com>
Link: https://lore.kernel.org/r/20230202155448.6715-5-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions