From 4020f4a0f22ffb9c95979a29cc827edd672cab79 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 14 May 2004 20:20:13 -0700 Subject: [PATCH] [PATCH] ib700wdt watchdog driver fix From: Patrice Bouchand ibwdt_ping(): we should write the current timeout's index into the holdoff register, not the timeout's value in seconds. --- drivers/char/watchdog/ib700wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/watchdog/ib700wdt.c b/drivers/char/watchdog/ib700wdt.c index 14afe80a5bde1..e020dd12590b4 100644 --- a/drivers/char/watchdog/ib700wdt.c +++ b/drivers/char/watchdog/ib700wdt.c @@ -135,7 +135,7 @@ static void ibwdt_ping(void) { /* Write a watchdog value */ - outb_p(wd_times[wd_margin], WDT_START); + outb_p(wd_margin, WDT_START); } static ssize_t -- 2.53.0