aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-28 20:23:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-28 20:23:44 +0000
commit85f7e435a732b2db79b6b401c3d32942b851979a (patch)
treeeb8ec2d98fa9668b9a01cb65604794a0c8873493 /target
parented1bc6704ee028ea0910217c79b5fe85eb08a405 (diff)
downloadupstream-85f7e435a732b2db79b6b401c3d32942b851979a.tar.gz
upstream-85f7e435a732b2db79b6b401c3d32942b851979a.tar.bz2
upstream-85f7e435a732b2db79b6b401c3d32942b851979a.zip
fix ar2315 watchdog restart (patch from #3953)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12775 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c b/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c
index 1737b968f4..d71b6f6848 100644
--- 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);