From fc59ffea21a7c3bba57593d1599e57de71f9a1d7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 28 Sep 2008 20:23:44 +0000 Subject: [PATCH] fix ar2315 watchdog restart (patch from #3953) SVN-Revision: 12775 --- target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c b/target/linux/atheros/files/drivers/watchdog/ar2315-wtd.c index 1737b968f4f..d71b6f6848d 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); -- 2.30.2