提交 2ba7d7b3 编写于 作者: R Roel Kluin 提交者: Wim Van Sebroeck

[WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled

Unlock in iTCO_wdt_start when reboot is disabled
Signed-off-by: NRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
上级 59338d4c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册