aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/rt2880_wdt.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-07-17 19:12:24 +0200
committerWim Van Sebroeck <wim@iguana.be>2017-09-09 20:25:34 +0200
commitd94fa4655ed79784388cb49c17c5e9967ddfb4b9 (patch)
tree98c1a725ccb738ad45a6b4a2dd5c3b99e3b1929b /drivers/watchdog/rt2880_wdt.c
parentwatchdog: renesas_wdt: add another divider option (diff)
downloadlinux-dev-d94fa4655ed79784388cb49c17c5e9967ddfb4b9.tar.xz
linux-dev-d94fa4655ed79784388cb49c17c5e9967ddfb4b9.zip
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 <wsa+renesas@sang-engineering.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/rt2880_wdt.c')
0 files changed, 0 insertions, 0 deletions