Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ba7d7b3 authored by Roel Kluin's avatar Roel Kluin Committed by Wim Van Sebroeck
Browse files

[WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled



Unlock in iTCO_wdt_start when reboot is disabled

Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 59338d4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}