1
0
Fork 0

watchdog: twl4030_wdt: Disable watchdog during probing

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>
Acked-By: Timo Kokkonen <timo.t.kokkonen@nokia.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
hifive-unleashed-5.1
Ameya Palande 2010-05-17 14:12:15 +03:00 committed by Wim Van Sebroeck
parent 4724ba575e
commit bb6f36070c
1 changed files with 2 additions and 0 deletions

View File

@ -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,