Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2ba7d7b39f3adf3f71aa3acab00111a429056c7d
Commit:     2ba7d7b39f3adf3f71aa3acab00111a429056c7d
Parent:     59338d4cb68528062f294d95f116357265936076
Author:     Roel Kluin <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 23 03:08:27 2007 +0200
Committer:  Wim Van Sebroeck <[EMAIL PROTECTED]>
CommitDate: Sat Oct 27 10:43:39 2007 +0000

    [WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled
    
    Unlock in iTCO_wdt_start when reboot is disabled
    
    Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
    Signed-off-by: Wim Van Sebroeck <[EMAIL PROTECTED]>
---
 drivers/watchdog/iTCO_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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;
        }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to