From: Stephen Boyd <swboyd@chromium.org>
To: John Stultz <john.stultz@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org, Stephen Boyd <sboyd@kernel.org>
Subject: [PATCH v3 0/4] Fix alarmtimer suspend failure
Date: Thu, 23 Jan 2020 21:58:45 -0800 [thread overview]
Message-ID: <20200124055849.154411-1-swboyd@chromium.org> (raw)
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
--
Sent by a computer, using git, on the internet
next reply other threads:[~2020-01-24 5:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-24 5:58 Stephen Boyd [this message]
2020-01-24 5:58 ` [PATCH v3 1/4] alarmtimer: Make alarmtimer platform device child of RTC device Stephen Boyd
2020-01-24 20:08 ` [tip: timers/core] " tip-bot2 for Stephen Boyd
2020-01-24 5:58 ` [PATCH v3 2/4] alarmtimer: Use wakeup source from alarmtimer platform device Stephen Boyd
2020-01-24 20:08 ` [tip: timers/core] " tip-bot2 for Stephen Boyd
2020-01-24 5:58 ` [PATCH v3 3/4] alarmtimer: Make alarmtimer_get_rtcdev() a stub when CONFIG_RTC_CLASS=n Stephen Boyd
2020-01-24 20:08 ` [tip: timers/core] " tip-bot2 for Stephen Boyd
2020-01-24 5:58 ` [PATCH v3 4/4] alarmtimer: Update alarmtimer_get_rtcdev() docs to reflect reality Stephen Boyd
2020-01-24 20:08 ` [tip: timers/core] " tip-bot2 for Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200124055849.154411-1-swboyd@chromium.org \
--to=swboyd@chromium.org \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®