aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-10-22 21:08:27 -0400
committerWim Van Sebroeck <wim@iguana.be>2007-10-27 06:43:39 -0400
commit2ba7d7b39f3adf3f71aa3acab00111a429056c7d (patch)
tree53bbc5d5e523495955954bd5dcbcb9ec057c3c4c /drivers/watchdog
parent59338d4cb68528062f294d95f116357265936076 (diff)
[WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled
Unlock in iTCO_wdt_start when reboot is disabled Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/iTCO_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
index cd5a565bc3a0..185c093a8591 100644
--- a/drivers/watchdog/iTCO_wdt.c
+++ b/drivers/watchdog/iTCO_wdt.c
@@ -300,6 +300,7 @@ static int iTCO_wdt_start(void)
300 300
301 /* disable chipset's NO_REBOOT bit */ 301 /* disable chipset's NO_REBOOT bit */
302 if (iTCO_wdt_unset_NO_REBOOT_bit()) { 302 if (iTCO_wdt_unset_NO_REBOOT_bit()) {
303 spin_unlock(&iTCO_wdt_private.io_lock);
303 printk(KERN_ERR PFX "failed to reset NO_REBOOT flag, reboot disabled by hardware\n"); 304 printk(KERN_ERR PFX "failed to reset NO_REBOOT flag, reboot disabled by hardware\n");
304 return -EIO; 305 return -EIO;
305 } 306 }