diff options
author | Thomas Weißschuh <[email protected]> | 2022-12-22 23:43:31 +0000 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-02-12 15:32:53 +0100 |
commit | 00bdbc9a860152cafc0bcfa4fc70f38401101ebc (patch) | |
tree | a56938a78ca6fbc7295610837b8663c3340a3690 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 98b7a1613011d9d5ec76841a2a5a689c3010d1f3 (diff) |
watchdog: wdat_wdt: Avoid unimplemented get_timeleft
As per the specification the action QUERY_COUNTDOWN_PERIOD is optional.
If the action is not implemented by the physical device the driver would
always report "0" from get_timeleft().
Avoid confusing userspace by only providing get_timeleft() when
implemented by the hardware.
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[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