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
commitfc59ffea21a7c3bba57593d1599e57de71f9a1d7 (patch)
treea0a1a32c67f971e62f65c47fc4664a1919824eb7 /target
parent8ce76ceccb52fc7bff6d8cefe7a3f266586deda2 (diff)
downloadupstream-fc59ffea21a7c3bba57593d1599e57de71f9a1d7.tar.gz
upstream-fc59ffea21a7c3bba57593d1599e57de71f9a1d7.tar.bz2
upstream-fc59ffea21a7c3bba57593d1599e57de71f9a1d7.zip
fix ar2315 watchdog restart (patch from #3953)
SVN-Revision: 12775
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);