diff options
author | gundberg <per.gundberg@icomera.com> | 2014-04-24 15:49:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-06 18:59:10 -0700 |
commit | 7d1cd9c360d66e8b3815b6d8bba31e50776d1bfd (patch) | |
tree | f91df2e88f240a4b544c34d4c384d0bdf5edf309 /drivers/ide/ide-scan-pci.c | |
parent | 7eeb3fde74c84e6ba779f68195c546014e2b2aa7 (diff) |
watchdog: kempld-wdt: Use the correct value when configuring the prescaler with the watchdog
commit a9e0436b303e94ba57d3bd4b1fcbeaa744b7ebeb upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/ide-scan-pci.c')
0 files changed, 0 insertions, 0 deletions