From: Chen Yu <yu.c.chen@intel.com>
To: Linux PM List <linux-pm@vger.kernel.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Pavel Machek <pavel@ucw.cz>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Len Brown <lenb@kernel.org>, Takashi Iwai <tiwai@suse.de>,
Benoit Goby <benoit@android.com>, Chen Yu <yu.c.chen@intel.com>
Subject: [PATCH 1/2][RFC] PM / sleep: Make DPM watchdog depend on PM_SLEEP
Date: Thu, 11 Aug 2016 20:29:38 +0800 [thread overview]
Message-ID: <5134abc1ff41c139f46b6ff9c77092bd1f0095b1.1470908324.git.yu.c.chen@intel.com> (raw)
In-Reply-To: <cover.1470908324.git.yu.c.chen@intel.com>
The DPM watchdog is implemented only when PM_SLEEP is
set, so make it depending on the latter.
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
kernel/power/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 68d3ebc..a359bc5 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -186,7 +186,7 @@ config PM_SLEEP_DEBUG
config DPM_WATCHDOG
bool "Device suspend/resume watchdog"
- depends on PM_DEBUG && PSTORE
+ depends on PM_DEBUG && PSTORE && PM_SLEEP
---help---
Sets up a watchdog timer to capture drivers that are
locked up attempting to suspend/resume a device.
--
2.7.4
next prev parent reply other threads:[~2016-08-11 12:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 12:29 [PATCH 0/2][RFC] PM / sleep: Expose DPM watchdog timeout to sysfs Chen Yu
2016-08-11 12:29 ` Chen Yu [this message]
2016-08-12 0:40 ` [PATCH 1/2][RFC] PM / sleep: Make DPM watchdog depend on PM_SLEEP Rafael J. Wysocki
2016-08-11 12:29 ` [PATCH 2/2][RFC] PM / sleep: Expose DPM watchdog timeout to sysfs Chen Yu
2016-08-11 18:54 ` [PATCH 0/2][RFC] " Pavel Machek
2016-08-12 0:39 ` Rafael J. Wysocki
2016-08-12 2:52 ` Chen Yu
2016-08-12 6:33 ` Pavel Machek
2016-08-12 10:49 ` Chen, Yu C
2016-08-12 11:25 ` Rafael J. Wysocki
2016-08-17 3:43 ` Chen Yu
2016-08-18 12:06 ` Pavel Machek
2016-08-18 17:44 ` Chen, Yu C
2016-08-18 18:42 ` Pavel Machek
2016-08-18 22:22 ` Rafael J. Wysocki
2016-08-18 22:32 ` Pavel Machek
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=5134abc1ff41c139f46b6ff9c77092bd1f0095b1.1470908324.git.yu.c.chen@intel.com \
--to=yu.c.chen@intel.com \
--cc=benoit@android.com \
--cc=gregkh@linuxfoundation.org \
--cc=lenb@kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rjw@rjwysocki.net \
--cc=tiwai@suse.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;
as well as URLs for NNTP newsgroup(s).