Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1894cad9 authored by Pratyush Anand's avatar Pratyush Anand Committed by Wim Van Sebroeck
Browse files

watchdog: skip min and max timeout validity check when max_hw_heartbeat_ms is defined



When max_hw_heartbeat_ms has a none zero value, max_timeout is not used.
So it's value can be 0. In such case if a driver uses min_timeout
functionality, then check will always fail.

This patch fixes above issue.

Signed-off-by: default avatarPratyush Anand <panand@redhat.com>
Signed-off-by: default avatarFu Wei <fu.wei@linaro.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent b7a8c420
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment