1
0
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:
nbd 2008-09-28 20:23:44 +00:00
parent 21b639b95b
commit 5b8cf3b2cf

View 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);