]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: at91sam9_wdt: fix secs_to_ticks
authorBoris BREZILLON <b.brezillon@overkiz.com>
Sun, 3 Nov 2013 17:52:42 +0000 (18:52 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jan 2014 20:34:18 +0000 (21:34 +0100)
commit47f0a83b3ac576ecf1e57cdff6a4cfbc49e14d9b
tree3589e443cb8d76067e4d9c2fa9b65a375d463c82
parentaa2f97f848475bd80211ca72536805850bc42b30
watchdog: at91sam9_wdt: fix secs_to_ticks

Fix the secs_to_ticks macro in case 0 is passed as an argument.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/at91sam9_wdt.c