projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix ar2315 watchdog restart (patch from #3953)
[openwrt.git]
/
target
/
linux
/
atheros
/
files
/
drivers
/
watchdog
/
ar2315-wtd.c
diff --git
a/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c
b/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c
index
1737b96
..
d71b6f6
100644
(file)
--- a/
target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c
+++ b/
target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c
@@
-81,7
+81,7
@@
ar2315_wdt_interrupt(int irq, void *dev_id)
if(started)
{
printk(KERN_CRIT "watchdog expired, rebooting system\n");
-
sysRegWrite(AR5315_COLD_RESET, RESET_SYSTEM
);
+
emergency_restart(
);
} else {
sysRegWrite(AR5315_WDC, 0);
sysRegWrite(AR5315_WD, 0);
This page took
0.034278 seconds
and
4
git commands to generate.