diff options
| author | Imre Kaloz <kaloz@kernel.org> | 2026-10-13 14:02:06 +0200 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-10-30 21:38:05 +0100 |
| commit | c2373bcd50d9654b76eac585c7c98105665b3321 (patch) | |
| tree | 2fe3f7ff6b0bb5ee024e9fc333d6239a1fe85d0c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 55bb5877494d6c99898b959aa593663ce4676f4e (diff) | |
rtc: ds1685: arm the wake-up alarm at power-off only if an alarm is set
ds1685_rtc_poweroff() always sets WIE. The wake-up alarm then compares
the time-of-day and date alarm registers, which hold whatever was last
written to them, and a match powers the machine straight back on.
Set WIE only when AIE is set in Control B, and clear it otherwise.
Fixes: aaaf5fbf56f1 ("rtc: add driver for DS1685 family of real time clocks")
Signed-off-by: Imre Kaloz <kaloz@kernel.org>
Acked-by: Joshua Kinard <linux@kumba.dev>
Link: https://patch.msgid.link/20261013120208.11268-2-kaloz@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
