[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070724181947.GJ27445@xyzzy.farnsworth.org>
Date: Tue, 24 Jul 2007 11:19:47 -0700
From: "Dale Farnsworth" <dale@...nsworth.org>
To: Wim Van Sebroeck <wim@...ana.be>, linux-kernel@...r.kernel.org
Subject: [PATCH 10/11] mv64x60_wdt: disable watchdog timer when driver is probed
Signed-off-by: Dale Farnsworth <dale@...nsworth.org>
---
drivers/char/watchdog/mv64x60_wdt.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c
===================================================================
--- linux-2.6-powerpc-wdt.orig/drivers/char/watchdog/mv64x60_wdt.c 2007-07-20 19:33:30.000000000 +0000
+++ linux-2.6-powerpc-wdt/drivers/char/watchdog/mv64x60_wdt.c 2007-07-20 19:34:23.000000000 +0000
@@ -262,6 +262,8 @@ static int __devinit mv64x60_wdt_probe(s
mv64x60_wdt_set_timeout(timeout);
+ mv64x60_wdt_handler_disable(); /* in case timer was already running */
+
return misc_register(&mv64x60_wdt_miscdev);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists