diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-08-17 16:58:46 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-01-28 15:35:40 -0500 |
commit | ea3d4011a871e1802e201086195c61e6dbeaf6d5 (patch) | |
tree | 2b208d454661b8ec2e489469868f06ff897df645 /drivers/watchdog | |
parent | 7b6d0b6ad49e55f8b82dbf233ece4e091417a738 (diff) |
watchdog: w83627hf_wdt: Reset watchdog trigger during initialization
If the watchdog has already triggered for whatever reason, it won't restart
unless the trigger is reset.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/w83627hf_wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/w83627hf_wdt.c b/drivers/watchdog/w83627hf_wdt.c index 6937306e90dd..b1da0c18fd1a 100644 --- a/drivers/watchdog/w83627hf_wdt.c +++ b/drivers/watchdog/w83627hf_wdt.c | |||
@@ -217,8 +217,8 @@ static int w83627hf_init(struct watchdog_device *wdog, enum chips chip) | |||
217 | t = superio_inb(cr_wdt_control) & ~0x0C; | 217 | t = superio_inb(cr_wdt_control) & ~0x0C; |
218 | superio_outb(cr_wdt_control, t); | 218 | superio_outb(cr_wdt_control, t); |
219 | 219 | ||
220 | /* disable keyboard & mouse turning off watchdog */ | 220 | /* reset trigger, disable keyboard & mouse turning off watchdog */ |
221 | t = superio_inb(0xF7) & ~0xC0; | 221 | t = superio_inb(0xF7) & ~0xD0; |
222 | superio_outb(0xF7, t); | 222 | superio_outb(0xF7, t); |
223 | 223 | ||
224 | superio_exit(); | 224 | superio_exit(); |