public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Unlock in iTCO_wdt_start when reboot is disabled
@ 2007-10-23  1:10 Roel Kluin
  0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2007-10-23  1:10 UTC (permalink / raw)
  To: lkml

commit 61c31efe4e9c34531666a6c5857ecd19c22228db
Author: Roel Kluin <12o3l@tiscali.nl>
Date:   Tue Oct 23 03:08:27 2007 +0200

    Unlock in iTCO_wdt_start when reboot is disabled
    
    Signed-off-by: Roel Kluin <12o3l@tiscali.nl>

diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
index cd5a565..185c093 100644
--- a/drivers/watchdog/iTCO_wdt.c
+++ b/drivers/watchdog/iTCO_wdt.c
@@ -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;
 	}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-23  1:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23  1:10 [PATCH] Unlock in iTCO_wdt_start when reboot is disabled Roel Kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox