]> git.karo-electronics.de Git - mv-sheeva.git/commit
[WATCHDOG] iTCO_wdt : correct status clearing
authorWim Van Sebroeck <wim@iguana.be>
Wed, 19 Nov 2008 20:02:02 +0000 (20:02 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 21 Nov 2008 08:34:32 +0000 (08:34 +0000)
commitc6904ddb976d99b77d91b78a0ce5bdfffb416c49
treeb505969bd7823159c8f9ad3c2b6d49047eac34be
parent7cd5b08be3c489df11b559fef210b81133764ad4
[WATCHDOG] iTCO_wdt : correct status clearing

The iTCO_wdt code was not clearing the correct bits.
It now clears the timeout status bit and then the
SECOND_TO_STS bit and then the BOOT_STS bit.
Note: we should first clear the SECOND_TO_STS bit
before clearing the BOOT_STS bit.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/iTCO_wdt.c