Commit 2422df5e authored by Dale Farnsworth's avatar Dale Farnsworth Committed by Wim Van Sebroeck

[WATCHDOG] mv64x60_wdt: disable watchdog timer when driver is probed

Make sure that we disable the watchdog at start-up.
Signed-off-by: default avatarDale Farnsworth <dale@farnsworth.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent bf2fc92c
...@@ -261,6 +261,8 @@ static int __devinit mv64x60_wdt_probe(struct platform_device *dev) ...@@ -261,6 +261,8 @@ static int __devinit mv64x60_wdt_probe(struct platform_device *dev)
mv64x60_wdt_set_timeout(timeout); mv64x60_wdt_set_timeout(timeout);
mv64x60_wdt_handler_disable(); /* in case timer was already running */
return misc_register(&mv64x60_wdt_miscdev); return misc_register(&mv64x60_wdt_miscdev);
} }
......
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