From: Felix Fietkau Date: Sun, 28 Sep 2008 20:23:44 +0000 (+0000) Subject: fix ar2315 watchdog restart (patch from #3953) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fc59ffea21a7c3bba57593d1599e57de71f9a1d7;p=openwrt%2Fstaging%2Fldir.git fix ar2315 watchdog restart (patch from #3953) SVN-Revision: 12775 --- 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);