[PATCH 0/4] Fix alarmtimer suspend failure
From: Stephen Boyd
Date: Thu Jan 09 2020 - 10:59:13 EST
We recently ran into a suspend problem where the alarmtimer platform
driver's suspend function fails because the RTC that it's trying
to program is already suspended. This patch series fixes that problem
by making the platform device a child of the RTC.
The last two patches are non-critical changes to how we do the wakeup
and some code cleanup. The first patch fixes a memory leak that I
saw by inspection.
Stephen Boyd (4):
alarmtimer: Unregister wakeup source when module get fails
alarmtimer: Make alarmtimer platform device child of RTC device
alarmtimer: Use wakeup source from alarmtimer platform device
alarmtimer: Always export alarmtimer_get_rtcdev() and update docs
kernel/time/alarmtimer.c | 41 +++++++++++++++-------------------------
1 file changed, 15 insertions(+), 26 deletions(-)
base-commit: 4becfd1b26ef4014a20fb38dd17554077adbed5d
--
Sent by a computer, using git, on the internet