Re: [PATCHv2] watchdog: qcom: Add suspend/resume support

From: Sai Prakash Ranjan
Date: Thu Jan 17 2019 - 10:26:44 EST


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 <saiprakash.ranjan@xxxxxxxxxxxxxx>

---

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