aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorXingyu Chen <[email protected]>2019-09-29 18:53:49 +0800
committerWim Van Sebroeck <[email protected]>2019-11-05 16:58:12 +0100
commit2c77734642d52448aca673e889b39f981110828b (patch)
tree28aeb74f46eea9b952bb87137025ec5c84c13a96 /tools/perf/util/scripting-engines/trace-event-python.c
parent1993f1d7ca3f315e0459c58c8e7038039a96dd85 (diff)
watchdog: meson: Fix the wrong value of left time
The left time value is wrong when we get it by sysfs. The left time value should be equal to preset timeout value minus elapsed time value. According to the Meson-GXB/GXL datasheets which can be found at [0], the timeout value is saved to BIT[0-15] of the WATCHDOG_TCNT, and elapsed time value is saved to BIT[16-31] of the WATCHDOG_TCNT. [0]: http://linux-meson.com Fixes: 683fa50f0e18 ("watchdog: Add Meson GXBB Watchdog Driver") Signed-off-by: Xingyu Chen <[email protected]> Acked-by: Neil Armstrong <[email protected]> Reviewed-by: Kevin Hilman <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions