diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-02-14 23:27:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-11 13:55:30 +0100 |
commit | 1e276e8acb8e24bce493603d19a699f76a1583fa (patch) | |
tree | e3e55c4b61bb52243ef406ed71fcaf4bdfbfe204 /io_uring | |
parent | 6a675a6d57d31da43d8da576465c1cd5d5b0bd3d (diff) | |
download | linux-stable-1e276e8acb8e24bce493603d19a699f76a1583fa.tar.gz linux-stable-1e276e8acb8e24bce493603d19a699f76a1583fa.tar.bz2 linux-stable-1e276e8acb8e24bce493603d19a699f76a1583fa.zip |
rtc: allow rtc_read_alarm without read_alarm callback
[ Upstream commit a783c962619271a8b905efad1d89adfec11ae0c8 ]
.read_alarm is not necessary to read the current alarm because it is
recorded in the aie_timer and so rtc_read_alarm() will never call
rtc_read_alarm_internal() which is the only function calling the callback.
Reported-by: Zhipeng Wang <zhipeng.wang_1@nxp.com>
Reported-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Fixes: 7ae41220ef58 ("rtc: introduce features bitfield")
Tested-by: Philippe Schenker <philippe.schenker@toradex.com>
Link: https://lore.kernel.org/r/20230214222754.582582-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions