fix ar2315 watchdog restart (patch from #3953)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 20:23:44 +0000 (20:23 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 20:23:44 +0000 (20:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12775 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c

index 1737b96..d71b6f6 100644 (file)
@@ -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.023001 seconds and 4 git commands to generate.