Skip to content
Commit a9e0436b authored by gundberg's avatar gundberg Committed by Wim Van Sebroeck
Browse files

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: default avatarPer Gundberg <per.gundberg@icomera.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarMichael Brunner <michael.brunner@kontron.com>
Tested-by: default avatarMichael Brunner <michael.brunner@kontron.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@vger.kernel.org>
parent 51ee34ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment