Re: [PATCH] wdt: designware: fix timeout calculation due to expecting KHz

2020-10-09 Thread Tom Rini
On Thu, Sep 17, 2020 at 10:30:40AM +0100, Jack Mitchell wrote: > 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 Applied to u-boot/master, thank

Re: [PATCH] wdt: designware: fix timeout calculation due to expecting KHz

2020-09-17 Thread Sean Anderson
On 9/17/20 5:30 AM, Jack Mitchell wrote: > 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 > --- > drivers/watchdog/designware_wdt.c | 2 +- > 1

[PATCH] wdt: designware: fix timeout calculation due to expecting KHz

2020-09-17 Thread Jack Mitchell
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 --- drivers/watchdog/designware_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a