[WATCHDOG] rc32434_wdt: fix watchdog driver
authorPhil Sutter <n0-1@freewrt.org>
Sun, 8 Feb 2009 15:44:42 +0000 (16:44 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 24 Feb 2009 09:00:49 +0000 (09:00 +0000)
commit0af98d37e85e6958eb84987b1f60da3b54008317
tree2f7f04f5532d1ed912ee8ad1b0a0b84b19a7e350
parent20f4d6c3a2a23c5d7d9cc7f42fbb943ca7a03d1f
[WATCHDOG] rc32434_wdt: fix watchdog driver

The existing driver code wasn't working. Neither the timeout was set
correctly, nor system reset was being triggered, as the driver seemed
to keep the WDT alive himself. There was also some unnecessary code.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@kernel.org>
drivers/watchdog/rc32434_wdt.c