gundberg a9e0436b30 watchdog: kempld-wdt: Use the correct value when configuring the prescaler with the watchdog
Use the prescaler index, rather than its value, to configure the watchdog.
This will prevent a mismatch with the prescaler used to calculate the cycles.

Signed-off-by: Per Gundberg <per.gundberg@icomera.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Michael Brunner <michael.brunner@kontron.com>
Tested-by: Michael Brunner <michael.brunner@kontron.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@vger.kernel.org>
2014-06-10 21:39:48 +02:00
..
2014-01-28 21:21:02 +01:00
2014-04-07 10:24:18 -07:00
2014-06-10 21:37:14 +02:00
2014-03-31 13:30:29 +02:00
2014-04-05 15:37:40 -07:00
2013-12-10 08:48:15 +01:00
2014-03-31 13:30:29 +02:00
2014-03-31 13:28:20 +02:00
2012-11-28 12:00:24 -08:00