[REGRESSION] rtc: imx-sc: remove .read_alarm

Marcel Ziswiler marcel.ziswiler at toradex.com
Wed Feb 8 07:06:28 PST 2023


Hi Alexandre

Were you aware that this breaks the sysfs use case? E.g. before we were able to suspend and resume 10 seconds
later as follows:

echo +10 > /sys/class/rtc/rtc1/wakealarm; echo mem > /sys/power/state

Since the removal of .read_alarm in commit 7942121b8ca0 ("rtc: imx-sc: remove .read_alarm") this no longer
seems to work.

This seems like a regression or is this not supposed to work?

Thanks for clarifying.

Cheers

Marcel


More information about the linux-arm-kernel mailing list