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(+)