diff options
| author | Bryan Tan <bryantan@vmware.com> | 2019-04-10 12:49:33 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 21:02:30 +0200 |
| commit | 0a48f239bfce525f4b7de0952aadce89ac2c2689 (patch) | |
| tree | 720c987a9477aeba4ce63097204d999310530dba /drivers/fpga/fpga-bridge.c | |
| parent | c838a3ae614ba324f9e1d762440a6e031ee5bed6 (diff) | |
watchdog: wdat_wdt: fix get_timeleft call for wdat_wdt
The get_timeleft call for wdat_wdt was using ACPI_WDAT_GET_COUNTDOWN
when running an action on the device, which would return the configured
countdown, instead of ACPI_WDAT_GET_CURRENT_COUNTDOWN, which returns the
time left before the watchdog will fire. This change corrects that.
Signed-off-by: Bryan Tan <bryantan@vmware.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
