]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: davinci: add GET_TIMELEFT option support
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Wed, 4 Dec 2013 19:39:28 +0000 (21:39 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 28 Dec 2013 20:44:19 +0000 (21:44 +0100)
commit0b4801c5c0aeef42a11055e91219362b81c5fe61
tree3db02c685dedcfd3d5033f7ed2fdf4f5f490fa87
parentaef18dc7548704889e0bf6b1166fdca3cd51cf27
watchdog: davinci: add GET_TIMELEFT option support

Currently, the davinci watchdog can be read while counting,
so we can add ability to report the remaining time before
the system will reboot.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/davinci_wdt.c