commit | d9b9c91b5d0ee1044cc638f7ea809a3836cf168e | [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 | 0eabb2ff2316c5d95367b79debb8229e686de774 [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>