summaryrefslogtreecommitdiff
path: root/tools/patman/commit.py
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2022-03-08 07:25:50 +0100
committerStefan Roese <sr@denx.de>2022-03-08 09:08:09 +0100
commit817e153fe546c2da9df8e8affc94d12036815659 (patch)
tree2e8f45d9b573cc1ee197d795c6bfb5255fadbd6c /tools/patman/commit.py
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 <jan.kiszka@siemens.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'tools/patman/commit.py')
0 files changed, 0 insertions, 0 deletions