projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf2fc92
)
[WATCHDOG] mv64x60_wdt: disable watchdog timer when driver is probed
author
Dale Farnsworth
<dale@farnsworth.org>
Tue, 24 Jul 2007 18:19:47 +0000
(11:19 -0700)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 24 Jul 2007 21:16:24 +0000
(21:16 +0000)
Make sure that we disable the watchdog at start-up.
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/mv64x60_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/watchdog/mv64x60_wdt.c
b/drivers/char/watchdog/mv64x60_wdt.c
index e07007543d09ef626a65af4c684a736cadeb85d5..07582bb8aea44a2b9f43879ea586f4ab96f006c0 100644
(file)
--- a/
drivers/char/watchdog/mv64x60_wdt.c
+++ b/
drivers/char/watchdog/mv64x60_wdt.c
@@
-261,6
+261,8
@@
static int __devinit mv64x60_wdt_probe(struct platform_device *dev)
mv64x60_wdt_set_timeout(timeout);
+ mv64x60_wdt_handler_disable(); /* in case timer was already running */
+
return misc_register(&mv64x60_wdt_miscdev);
}