projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59338d4
)
[WATCHDOG] Unlock in iTCO_wdt_start when reboot is disabled
author
Roel Kluin
<12o3l@tiscali.nl>
Tue, 23 Oct 2007 01:08:27 +0000
(
03:08
+0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Sat, 27 Oct 2007 10:43:39 +0000
(10:43 +0000)
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>
drivers/watchdog/iTCO_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/iTCO_wdt.c
b/drivers/watchdog/iTCO_wdt.c
index
cd5a565
..
185c093
100644
(file)
--- 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;
}