mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
fix ar2315 watchdog restart (patch from #3953)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12775 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
21b639b95b
commit
5b8cf3b2cf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user