[WATCHDOG] i6300esb.c-WDT_ENABLE-bug
authorNaveen Gupta <ngupta@google.com>
Wed, 17 Aug 2005 07:10:10 +0000 (09:10 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 11 Sep 2005 19:48:46 +0000 (21:48 +0200)
commit28562af3d4b21d687dd57c44006aeeed1036c781
tree46dd305650708846a09fbe41f3b9999803a8a7c4
parentc69af038cad5e6ea86e927a17b70b49af1f7cbfa
[WATCHDOG] i6300esb.c-WDT_ENABLE-bug

This patch sets the WDT_ENABLE bit of the Lock Register to enable the
watchdog and WDT_LOCK bit only if nowayout is set. The old code always
sets the WDT_LOCK bit of watchdog timer for Intel 6300ESB chipset. So, we
end up locking the watchdog instead of enabling it.

Signed-off-by: Naveen Gupta <ngupta@google.com>
Signed-off-by: David Hardeman <david@2gen.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/char/watchdog/i6300esb.c