]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: da9063_wdt: don't trigger watchdog too fast
authorStefan Christ <s.christ@phytec.de>
Wed, 6 Jul 2016 08:40:11 +0000 (10:40 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Jul 2016 19:02:42 +0000 (21:02 +0200)
commitedadecdfcf74c04b02ff8b1308a8373d5ac917ac
tree608d84b22edb0e97befa47185f216522e5508928
parentde0bd1b35f2640eb87d32fab1856d250e601871b
watchdog: da9063_wdt: don't trigger watchdog too fast

Triggering the watchdog faster than T_WDMIN=256ms leads to resets of the
DA9063 chip. The datasheet says that the watchdog must only be triggered
in the timeframe T_WDMIN to T_WDMAX. The T_WDMAX is configured in the
driver.

Signed-off-by: Stefan Christ <s.christ@phytec.de>
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>
drivers/watchdog/da9063_wdt.c