Skip to content

Commit

Permalink
[WATCHDOG] mv64x60_wdt: disable watchdog timer when driver is probed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dale Farnsworth authored and Wim Van Sebroeck committed Jul 24, 2007
1 parent bf2fc92 commit 2422df5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/char/watchdog/mv64x60_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 2422df5

Please sign in to comment.