Skip to content
Snippets Groups Projects
Commit fc59ffea authored by Felix Fietkau's avatar Felix Fietkau
Browse files

fix ar2315 watchdog restart (patch from #3953)

SVN-Revision: 12775
parent 8ce76cec
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ ar2315_wdt_interrupt(int irq, void *dev_id) ...@@ -81,7 +81,7 @@ ar2315_wdt_interrupt(int irq, void *dev_id)
if(started) if(started)
{ {
printk(KERN_CRIT "watchdog expired, rebooting system\n"); printk(KERN_CRIT "watchdog expired, rebooting system\n");
sysRegWrite(AR5315_COLD_RESET, RESET_SYSTEM); emergency_restart();
} else { } else {
sysRegWrite(AR5315_WDC, 0); sysRegWrite(AR5315_WDC, 0);
sysRegWrite(AR5315_WD, 0); sysRegWrite(AR5315_WD, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment