Watchdog: sb_wdog.c: Fix sibyte watchdog initialization
commit86913315de5ed13debd1566dfea15c4179b1f0c0
authorGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Apr 2010 15:37:11 +0000 (19 08:37 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 26 Apr 2010 18:14:03 +0000 (26 18:14 +0000)
tree4001fdd34f196f7ab7544ebab429b7401a4ca9ab
parentb91ce4d14a21fc04d165be30319541e0f9204f15
Watchdog: sb_wdog.c: Fix sibyte watchdog initialization

Watchdog configuration register and timer count register were interchanged,
causing wrong values to be written into both registers.
This caused watchdog triggered resets even if the watchdog was reset in time.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sb_wdog.c