Doug Anderson
b5ade9bc8d
watchdog: dw_wdt: Try to get a 30 second watchdog by default
...
The dw_wdt_set_top() function takes in a value in seconds. In
dw_wdt_open() we were calling it with a value that's supposed to
represent the maximum value programmed into the "top" register with a
comment saying that we were trying to set the watchdog to its maximum
value. Instead we ended up setting the watchdog to ~15 seconds.
Let's fix this. However, setting things to the "max" gives me an 86
second watchdog in the system I'm looking at. 86 seconds feels a
little too long. We'll explicitly choose 30 seconds as a more
reasonable value.
NOTE: Ideally this driver should be transitioned to be a real watchdog
driver. Then we could use "watchdog_init_timeout" and let the timeout
be specified in a number of ways (device tree, module parameter, etc).
This patch should be considered a bit of a stopgap solution.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2015-02-17 21:33:49 +01:00
..
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-01-28 19:07:07 +01:00
2014-09-26 00:00:32 -07:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2015-02-17 21:33:27 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 20:44:22 +02:00
2015-01-21 14:52:34 +01:00
2014-10-20 16:21:56 +02:00
2014-03-31 13:22:45 +02:00
2014-10-20 16:21:56 +02:00
2014-03-31 13:23:19 +02:00
2014-03-31 13:23:19 +02:00
2015-02-17 21:33:06 +01:00
2014-10-20 16:21:56 +02:00
2014-06-10 10:48:29 +02:00
2015-02-17 21:33:49 +01:00
2014-10-20 16:21:56 +02:00
2013-11-17 19:38:13 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2015-02-17 21:33:22 +01:00
2015-02-17 21:32:10 +01:00
2014-03-31 13:22:45 +02:00
2014-10-20 16:21:56 +02:00
2014-03-31 13:31:06 +02:00
2014-10-20 16:21:56 +02:00
2015-02-17 21:30:49 +01:00
2015-02-17 21:31:06 +01:00
2014-03-31 13:26:31 +02:00
2014-03-31 13:26:56 +02:00
2014-10-20 16:21:56 +02:00
2013-11-17 19:38:13 +01:00
2015-02-17 21:32:08 +01:00
2013-11-17 19:38:13 +01:00
2014-10-20 16:21:56 +02:00
2013-11-17 19:38:13 +01:00
2014-10-20 16:21:56 +02:00
2015-02-17 21:33:37 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2015-02-17 21:32:43 +01:00
2014-10-20 16:21:56 +02:00
2013-07-11 22:19:05 +02:00
2014-10-20 16:21:56 +02:00
2015-01-21 14:52:34 +01:00
2013-11-17 19:38:13 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2015-02-17 21:32:43 +01:00
2014-03-31 13:22:45 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-08-02 00:06:42 +02:00
2014-10-20 20:43:42 +02:00
2015-02-17 21:32:36 +01:00
2014-12-14 16:10:09 -08:00
2014-03-31 13:31:06 +02:00
2014-01-28 19:07:07 +01:00
2014-03-31 13:23:19 +02:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 21:04:19 +02:00
2013-11-17 19:38:13 +01:00
2014-10-20 16:21:56 +02:00
2015-02-17 21:32:36 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 20:55:02 +02:00
2015-02-17 21:32:21 +01:00
2014-12-14 16:10:09 -08:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2014-03-31 13:27:34 +02:00
2013-12-10 08:48:15 +01:00
2014-10-20 16:21:56 +02:00
2013-11-17 19:38:13 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2013-11-17 19:38:13 +01:00
2014-03-31 13:31:06 +02:00
2014-06-10 21:47:47 +02:00
2014-10-20 16:21:56 +02:00
2014-10-20 20:55:54 +02:00
2014-11-03 19:53:56 -08:00
2014-10-20 16:21:56 +02:00
2014-11-03 19:53:56 -08:00
2015-02-17 21:32:36 +01:00
2014-10-20 16:21:56 +02:00
2014-10-20 16:21:56 +02:00
2014-06-10 21:38:25 +02:00
2015-02-17 21:33:37 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2014-01-28 19:07:56 +01:00
2013-07-11 21:14:39 +02:00
2013-11-17 19:38:13 +01:00
2014-03-31 13:28:20 +02:00
2013-11-17 19:38:13 +01:00
2014-03-31 13:22:45 +02:00
2013-11-17 19:38:13 +01:00
2014-03-31 13:23:19 +02:00
2014-10-20 16:21:56 +02:00