Re: [PATCH] watchdog: asm9260_wdt: don't round closest with get_timeleft
On 07/17/2017 10:12 AM, Wolfram Sang wrote: We should never return more time left than there actually is. So, switch to a plain divider instead of DIV_ROUND_CLOSEST. Signed-off-by: Wolfram SangReviewed-by: Guenter Roeck --- This is
[PATCH] watchdog: asm9260_wdt: don't round closest with get_timeleft
We should never return more time left than there actually is. So, switch to a plain divider instead of DIV_ROUND_CLOSEST. Signed-off-by: Wolfram Sang--- This is similar to a patch for the renesas-rwdt[1]. I think it makes sense to remove this pattern from the