commit | 452fafed839eb008a8ed9072d63449cb76de617e | [log] [tgz] |
---|---|---|
author | Lars Poeschel <poeschel@lemonage.de> | Wed Jun 17 10:58:59 2015 +0200 |
committer | Wim Van Sebroeck <wim@iguana.be> | Mon Jun 22 15:54:35 2015 +0200 |
tree | 7960b3c8f0132c4b6f784f23b8c3ca87586062a2 | |
parent | 7a7cb009dcbae5588d8836cd7b4f7255db2e489b [diff] |
watchdog: omap_wdt: implement get_timeleft The omap watchdog hardware is able to read the watchdog timer counter register. This implements this functionality in the omap_wdt driver, so one is can read the time until the watchdog will trigger the reset in seconds using WDIOC_GETTIMELEFT. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>