diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-28 20:23:44 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-09-28 20:23:44 +0000 |
commit | 5b8cf3b2cf9fcdea5059e3c0f34efae4432823c4 (patch) | |
tree | eb8ec2d98fa9668b9a01cb65604794a0c8873493 /target | |
parent | 21b639b95b1cc70f3096d31cb12955bafa2e15f0 (diff) |
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.c | 2 |
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 1737b968f..d71b6f684 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); |