Message ID | 5134abc1ff41c139f46b6ff9c77092bd1f0095b1.1470908324.git.yu.c.chen@intel.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
On Thu, Aug 11, 2016 at 2:29 PM, Chen Yu <yu.c.chen@intel.com> wrote: > 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> Looks good to me. > --- > 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 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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.
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(-)