From patchwork Thu Aug 11 12:29:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Yu X-Patchwork-Id: 9275187 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B156D60231 for ; Thu, 11 Aug 2016 12:21:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A28E028626 for ; Thu, 11 Aug 2016 12:21:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 974E72862B; Thu, 11 Aug 2016 12:21:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A74F28626 for ; Thu, 11 Aug 2016 12:21:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbcHKMVs (ORCPT ); Thu, 11 Aug 2016 08:21:48 -0400 Received: from mga02.intel.com ([134.134.136.20]:62740 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751866AbcHKMVs (ORCPT ); Thu, 11 Aug 2016 08:21:48 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 11 Aug 2016 05:21:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,505,1464678000"; d="scan'208";a="1039299822" Received: from sharon.sh.intel.com ([10.239.160.134]) by fmsmga002.fm.intel.com with ESMTP; 11 Aug 2016 05:21:45 -0700 From: Chen Yu To: Linux PM List Cc: "Rafael J. Wysocki" , Pavel Machek , Greg Kroah-Hartman , Len Brown , Takashi Iwai , Benoit Goby , Chen Yu Subject: [PATCH 1/2][RFC] PM / sleep: Make DPM watchdog depend on PM_SLEEP Date: Thu, 11 Aug 2016 20:29:38 +0800 Message-Id: <5134abc1ff41c139f46b6ff9c77092bd1f0095b1.1470908324.git.yu.c.chen@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The DPM watchdog is implemented only when PM_SLEEP is set, so make it depending on the latter. Signed-off-by: Chen Yu --- 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.