Re: [PATCH] watchdog: rti_wdt: Add 10% safety margin to clock frequency

2022-03-08 Thread Stefan Roese
On 2/21/22 17:21, Jan Kiszka wrote: From: Jan Kiszka 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,

[PATCH] watchdog: rti_wdt: Add 10% safety margin to clock frequency

2022-02-21 Thread Jan Kiszka
From: Jan Kiszka 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