linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] twl4030_wdt: Disable watchdog while probing
@ 2010-05-17 11:12 Ameya Palande
  2010-05-19 16:40 ` Wim Van Sebroeck
  2010-05-20  5:39 ` Timo Kokkonen
  0 siblings, 2 replies; 5+ messages in thread
From: Ameya Palande @ 2010-05-17 11:12 UTC (permalink / raw)
  To: linux-omap; +Cc: timo.t.kokkonen, wim

If we are not able to register then it is better to have watchdog in disabled
state than noticing a system reboot.

Signed-off-by: Ameya Palande <ameya.palande@nokia.com>
---
 drivers/watchdog/twl4030_wdt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/watchdog/twl4030_wdt.c b/drivers/watchdog/twl4030_wdt.c
index dcabe77..b5045ca 100644
--- a/drivers/watchdog/twl4030_wdt.c
+++ b/drivers/watchdog/twl4030_wdt.c
@@ -190,6 +190,8 @@ static int __devinit twl4030_wdt_probe(struct platform_device *pdev)
 
 	twl4030_wdt_dev = pdev;
 
+	twl4030_wdt_disable(wdt);
+
 	ret = misc_register(&wdt->miscdev);
 	if (ret) {
 		dev_err(wdt->miscdev.parent,
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-20  9:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-17 11:12 [PATCH] twl4030_wdt: Disable watchdog while probing Ameya Palande
2010-05-19 16:40 ` Wim Van Sebroeck
2010-05-20  5:39 ` Timo Kokkonen
2010-05-20  7:46   ` Wim Van Sebroeck
2010-05-20  9:12     ` Timo Kokkonen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).