[COMMON] watchdog: Add watchdog reset confirm function.
authorJaehyoung Choi <jkkkkk.choi@samsung.com>
Thu, 14 Sep 2017 08:55:52 +0000 (17:55 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Wed, 9 May 2018 11:27:48 +0000 (20:27 +0900)
commit816981102c4237b5a40746c6a2d0fa3389584ce0
tree8eb3595661db6f561a4492acf037edf29d9e059c
parent9a79e0a8c3552b3ca8e3d61fcd622b96ef0bbf5d
[COMMON] watchdog: Add watchdog reset confirm function.

Currently mainline code does not support functions
to check whether watchdog works in real time.

The reset_confirm function checks
whether the watchdog timer actually generates a reset.

Change-Id: I569ab2f910b63160753838801d3c0b03f5a1a46d
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
drivers/watchdog/s3c2410_wdt.c
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h