Wolfram Sang ccc8208d08 watchdog: atlas7_wdt: test clock rate to avoid division by 0
The clk API may return 0 on clk_get_rate, so we should check the result before
using it as a divisor.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2016-03-16 21:09:08 +01:00
..
2015-12-28 22:09:12 +01:00
2015-02-17 21:32:08 +01:00
2013-12-10 08:48:15 +01:00
2014-03-31 13:28:20 +02:00