commit | f23419c30b175acc4627b6cb926db4c1235c6e15 | [log] [tgz] |
---|---|---|
author | Jack Mitchell <ml@embed.me.uk> | Thu Sep 17 10:30:40 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 08 11:42:36 2020 -0400 |
tree | 05baef29001ae5b8649a6bcdb1d9ef659096ce06 | |
parent | 0d62d8a3a37d120f45c796945f8e32a8c3fe8fc6 [diff] |
wdt: designware: fix timeout calculation due to expecting KHz The timeout calculation is based on the clk being in KHz but the clk api returns the clk value in Hz. Convert this to KHz to calculate the correct timeout value. Signed-off-by: Jack Mitchell <ml@embed.me.uk>