projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4724ba5
)
watchdog: twl4030_wdt: Disable watchdog during probing
author
Ameya Palande
<ameya.palande@nokia.com>
Mon, 17 May 2010 11:12:15 +0000
(14:12 +0300)
committer
Wim Van Sebroeck
<wim@iguana.be>
Tue, 25 May 2010 09:05:46 +0000
(09:05 +0000)
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>
drivers/watchdog/twl4030_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/twl4030_wdt.c
b/drivers/watchdog/twl4030_wdt.c
index dcabe77ad14128384b26722fa1e57a7e0d5fe22a..b5045ca7e61ccd03c3fa631026f27fe4ddc72e4f 100644
(file)
--- 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,