aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorChris Packham <[email protected]>2020-07-27 15:46:14 +1200
committerAlexandre Belloni <[email protected]>2020-08-05 01:07:09 +0200
commit9bf1306257589b3a5ad46175538af9922d94e26f (patch)
tree86354542968affd37500b1b85f03b74a9977ed65 /lib/test_overflow.c
parent3d6cfb36ed719e5efdc2a6a8e8ee07f185c88da1 (diff)
rtc: ds1307: provide an indication that the watchdog has fired
There's not much feedback when the ds1388 watchdog fires. Generally it yanks on the reset line and the board reboots. Capture the fact that the watchdog has fired in the past so that userspace can retrieve it via WDIOC_GETBOOTSTATUS. This should help distinguish a watchdog triggered reset from a power interruption. Signed-off-by: Chris Packham <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions