]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: wdat_wdt: Ping the watchdog on resume
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 20 Oct 2016 15:03:36 +0000 (18:03 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Oct 2016 23:28:33 +0000 (01:28 +0200)
commit28e3d7002ba9f773662b2cf75d28cadfa29dc442
tree8c8f43b6566b0643ca36a43e8f6b03a074bc9c77
parentcda3b9178510297ac968b7e129e20caaaa66c581
watchdog: wdat_wdt: Ping the watchdog on resume

It turns out we need to ping the watchdog hardware on resume when we
re-program it. Otherwise this causes inadvertent reset to trigger
right after the resume is complete.

Fixes: 058dfc767008 (ACPI / watchdog: Add support for WDAT hardware watchdog)
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/watchdog/wdat_wdt.c