diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-02-11 00:00:23 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-02-22 04:43:01 +0100 |
commit | d9d0c53dac7757aa198b1bd60c56f996c78c7ff7 (patch) | |
tree | e3d7a17fe3d464ec6d2e311a212e0f642a47f1cb /drivers/watchdog/da9055_wdt.c | |
parent | watchdog: orion: Remove unused macros (diff) | |
download | linux-d9d0c53dac7757aa198b1bd60c56f996c78c7ff7.tar.xz linux-d9d0c53dac7757aa198b1bd60c56f996c78c7ff7.zip |
watchdog: orion: Make sure the watchdog is initially stopped
Having the watchdog initially fully stopped is important to avoid
any spurious watchdog triggers, in case the registers are not in
its reset state.
If the watchdog rstout is enabled and the watchdog counter running,
this initial stop is not performed, to comply with the 'nowayout'
parameter.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Tested-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/watchdog/da9055_wdt.c')
0 files changed, 0 insertions, 0 deletions