[WATCHDOG] Fix it8712f_wdt.c wrong byte order accessing WDT_TIMEOUT
authorOliver Schuster <oliver.s@inbox.com>
Tue, 1 Apr 2008 15:06:21 +0000 (17:06 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Apr 2008 18:31:05 +0000 (11:31 -0700)
commit0e45adb8f5371f3d20a6df21cd13ce32fbe9bf15
tree15a603c06c3cf93aac29db83c3458f4f73dbda4b
parentd5f1a21ca05cad212829460ee7900915128e3401
[WATCHDOG] Fix it8712f_wdt.c wrong byte order accessing WDT_TIMEOUT

This patch corrects an error in the driver it8712f_wdt.  You cannot set
the 16-bit WDT_TIMEOUT access as a 16-bit outw, because the byte
ordering will be wrong.  So just do the high 8 bits as a separate
access.

Signed-off-by: Oliver Schuster <olivers137@aol.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/watchdog/it8712f_wdt.c