summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2022-03-08 07:25:50 +0100
committerStefan Roese <[email protected]>2022-03-08 09:08:09 +0100
commit817e153fe546c2da9df8e8affc94d12036815659 (patch)
tree2e8f45d9b573cc1ee197d795c6bfb5255fadbd6c /include/linux
parent65066773a3e4c3f1dfc5eac8400ca7a7268e4fb7 (diff)
watchdog: rti_wdt: Add 10% safety margin to clock frequency
When running against RC_OSC_32k, the watchdog may suffer from running faster than expected, expiring earlier. The Linux kernel adds a 10% margin to the timeout calculation by slowing down the read clock rate accordingly. Do the same here, also to have comparable preset values for both drivers. Along this, fix the name of the local var holding to frequency - in Hz, not kHz. Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions