From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sai Prakash Ranjan Subject: Re: [PATCHv2] watchdog: qcom: Add suspend/resume support Date: Thu, 17 Jan 2019 20:56:31 +0530 Message-ID: <747da233-8b8c-2aa9-59cf-542ab46cc161@codeaurora.org> References: <20190117151942.6092-1-saiprakash.ranjan@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190117151942.6092-1-saiprakash.ranjan@codeaurora.org> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Guenter Roeck , Brian Masney , Wim Van Sebroeck , linux-watchdog@vger.kernel.org, Guenter Roeck Cc: Rajendra Nayak , Stephen Boyd , linux-arm-msm@vger.kernel.org, Doug Anderson , linux-kernel@vger.kernel.org, Sibi Sankar , Vivek Gautam , linux-arm-kernel@lists.infradead.org List-Id: linux-arm-msm@vger.kernel.org On 1/17/2019 8:49 PM, Sai Prakash Ranjan wrote: > This adds the support for qcom watchdog suspend and resume > when entering and exiting deep sleep states. Otherwise > having watchdog active after suspend would result in unwanted > crashes/resets if resume happens after a long time. > > Signed-off-by: Sai Prakash Ranjan > > --- > > v2: > * Use __maybe_unused instead of #ifdef as suggested by > Brian and Guenter > --- > drivers/watchdog/qcom-wdt.c | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > Adding Brian. -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation