Skip to content

Commit

Permalink
[WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and Wim Van Sebroeck committed Oct 27, 2007
1 parent 59338d4 commit 2ba7d7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/watchdog/iTCO_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ static int iTCO_wdt_start(void)

/* disable chipset's NO_REBOOT bit */
if (iTCO_wdt_unset_NO_REBOOT_bit()) {
spin_unlock(&iTCO_wdt_private.io_lock);
printk(KERN_ERR PFX "failed to reset NO_REBOOT flag, reboot disabled by hardware\n");
return -EIO;
}
Expand Down

0 comments on commit 2ba7d7b

Please sign in to comment.