diff options
author | Miaoqian Lin <[email protected]> | 2022-04-12 07:08:23 +0000 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-05-21 10:09:28 +0200 |
commit | b3ac0c58fa8934926360268f3d89ec7680644d7b (patch) | |
tree | 018c608c359e492ae90c338157a242ca2039322c /scripts/bpf_doc.py | |
parent | 26d14b9fc341893e862f17ab7db4543d5a530327 (diff) |
watchdog: rti-wdt: Fix pm_runtime_get_sync() error checking
If the device is already in a runtime PM enabled state
pm_runtime_get_sync() will return 1, so a test for negative
value should be used to check for errors.
Fixes: 2d63908bdbfb ("watchdog: Add K3 RTI watchdog support")
Signed-off-by: Miaoqian Lin <[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 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions