Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 4db7575e authored by gundberg's avatar gundberg Committed by Greg Kroah-Hartman
Browse files

watchdog: kempld-wdt: Use the correct value when configuring the prescaler with the watchdog

commit a9e0436b

 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: 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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1814990c
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