Commit 4020f4a0 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ib700wdt watchdog driver fix

From: Patrice Bouchand <PBouchand@cyberdeck.com>

ibwdt_ping(): we should write the current timeout's index into the holdoff
register, not the timeout's value in seconds.
parent a50376bd
...@@ -135,7 +135,7 @@ static void ...@@ -135,7 +135,7 @@ static void
ibwdt_ping(void) ibwdt_ping(void)
{ {
/* Write a watchdog value */ /* Write a watchdog value */
outb_p(wd_times[wd_margin], WDT_START); outb_p(wd_margin, WDT_START);
} }
static ssize_t static ssize_t
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment