WATCHDOG: octeon-wdt: Use I/O clock rate for timing calculations.
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:52 +0000 (16:03 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:42 +0000 (19:08 +0100)
commit468ffde46d429fbd291b0ef43a06afe9c837629f
tree85e04da002a59f86e627aee02a5ba2a381bbf5bc
parent1fa25ab2caf79b99094c3da6e09f20a35e8f01f8
WATCHDOG: octeon-wdt: Use I/O clock rate for timing calculations.

The creation of the I/O clock domain requires some adjustments.  Since
the watchdog counters are clocked by the I/O clock, use its rate for
timing calculations.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
Patchwork: http://patchwork.linux-mips.org/patch/1659/
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/watchdog/octeon-wdt-main.c