diff options
author | 2023-02-14 23:27:53 +0100 | |
---|---|---|
committer | 2023-02-22 12:32:05 +0100 | |
commit | a783c962619271a8b905efad1d89adfec11ae0c8 (patch) | |
tree | 2b51d546f0d83490d948907c13528fb63d142e85 /scripts/generate_rust_analyzer.py | |
parent | rtc: rv3032: add ACPI support (diff) | |
download | linux-rng-a783c962619271a8b905efad1d89adfec11ae0c8.tar.xz linux-rng-a783c962619271a8b905efad1d89adfec11ae0c8.zip |
rtc: allow rtc_read_alarm without read_alarm callback
.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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions