Skip to content
Commit 308247d2 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: s5m: enable wakeup only when available



Call device_init_wakeup() only when alarms are available and the RTC is
actually able to wake up the system.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210804104133.5158-3-alexandre.belloni@bootlin.com
parent 1ed4dba2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment