diff options
| author | Georg Hofmann <georg@hofmannsweb.com> | 2019-04-08 22:25:54 +0300 |
|---|---|---|
| committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 22:02:13 +0300 |
| commit | b07e228eee69601addba98b47b1a3850569e5013 (patch) | |
| tree | b0c93d26aec14719360b8159592c2cc301e29d9e /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 33052fbb4f25148ffa8fa417aeaab33b9dc3f37e (diff) | |
| download | linux-b07e228eee69601addba98b47b1a3850569e5013.tar.xz | |
watchdog: imx2_wdt: Fix set_timeout for big timeout values
The documentated behavior is: if max_hw_heartbeat_ms is implemented, the
minimum of the set_timeout argument and max_hw_heartbeat_ms should be used.
This patch implements this behavior.
Previously only the first 7bits were used and the input argument was
returned.
Signed-off-by: Georg Hofmann <georg@hofmannsweb.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@linux-watchdog.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
