Skip to content

Fix alarmtimer suspend failure

Stephen Boyd lkml 3 versions – Applied

Status from this message: The following commit has been merged into the timers/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesApplied
  2. v23 patches 5 repliesSuperseded
  3. v14 patches 9 repliesApplied

Changes in v3 from the cover letter

* Picked up review tags from Doug
* Removed extra space between - and 1 on first patch
* Split last patch into two

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4alarmtimer: Make alarmtimer platform device child of RTC devicekernel/time/alarmtimer.c+9 -110 replies
2/4alarmtimer: Use wakeup source from alarmtimer platform devicekernel/time/alarmtimer.c+5 -100 replies
3/4alarmtimer: Make alarmtimer_get_rtcdev() a stub when CONFIG_RTC_CLASS=ninclude/linux/alarmtimer.h kernel/time/alarmtimer.c+4 -50 replies
4/4alarmtimer: Update alarmtimer_get_rtcdev() docs to reflect realitykernel/time/alarmtimer.c+0 -20 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchDouglas Anderson
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Fix alarmtimer suspend failure

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.

Changes from v2:
* Picked up review tags from Doug
* Removed extra space between - and 1 on first patch
* Split last patch into two

Changes from v1:
* Dropped first patch that got picked up
* Reworked second patch to autogenerate the device id and use IS_ERR()

Stephen Boyd (4):
alarmtimer: Make alarmtimer platform device child of RTC device
alarmtimer: Use wakeup source from alarmtimer platform device
alarmtimer: Make alarmtimer_get_rtcdev() a stub when
CONFIG_RTC_CLASS=n
alarmtimer: Update alarmtimer_get_rtcdev() docs to reflect reality

 include/linux/alarmtimer.h |  4 ++++
 kernel/time/alarmtimer.c   | 40 +++++++++++++-------------------------
 2 files changed, 17 insertions(+), 27 deletions(-)

base-commit: bc80e6ad8ee12b0ee6c7d05faf1ebd3f2fb8f1e5

Signature · 1 line
Sent by a computer, using git, on the internet