]> err.no Git - linux-2.6/commit
[WATCHDOG] it8712f_wdt Zero MSB timeout byte when disabling watchdog
authorAndrew Paprocki <andrew@ishiboo.com>
Wed, 2 Apr 2008 06:43:19 +0000 (02:43 -0400)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 6 Apr 2008 19:12:22 +0000 (19:12 +0000)
commitcc1020f15ad0f843c0111bf4b77bdfaabca79571
tree8bb1d0fc8804bd5bc3af8d02fd2ac953bb3e2e8a
parent6fdf5e67fe8d3c83500dad9acae985132c2459a3
[WATCHDOG] it8712f_wdt Zero MSB timeout byte when disabling watchdog

I noticed this while testing the latest code. I'm not sure if it is required,
but the normal (or LSB) timeout value is set to zero, so the MSB should
be as well to stay consistent.

If the chip revision is >= 8, set MSB of the 16-bit timeout value to zero
when disabling the watchdog in it8712f_wdt_disable().

Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/it8712f_wdt.c