diff options
author | Shruthi Sanil <[email protected]> | 2021-05-17 23:19:45 +0530 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-06-21 08:48:53 +0200 |
commit | 29353816300c79cb5157ed2719cc71285c7b77aa (patch) | |
tree | 4494b92cbbbb2c2b71d7b079350ef0c069996777 /lib/string_helpers.c | |
parent | c4681547bcce777daf576925a966ffa824edd09d (diff) |
watchdog: keembay: Update WDT pre-timeout during the initialization
The pretimeout register has a default reset value. Hence
when a smaller WDT timeout is set which would be lesser than the
default pretimeout, the system behaves abnormally, starts
triggering the pretimeout interrupt even when the WDT is
not enabled, most of the times leading to system crash.
Hence an update in the pre-timeout is also required for the
default timeout that is being configured.
Fixes: fa0f8d51e90d ("watchdog: Add watchdog driver for Intel Keembay Soc")
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Tested-by: Kris Pan <[email protected]>
Signed-off-by: Shruthi Sanil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions