diff options
author | Dinghao Liu <[email protected]> | 2020-05-21 16:01:41 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2020-05-25 08:55:46 +0200 |
commit | a22573740d93f31c30b57a40b334a1ec6b789f67 (patch) | |
tree | 771b223c9d8badc68ae70a3215f8bbca0f2c9a16 /tools/perf/scripts/python/compaction-times.py | |
parent | 5e31896a33c5ad5ad5c533e6bdff6510d136b1ef (diff) |
watchdog: Fix runtime PM imbalance on error
When watchdog_register_device() returns an error code,
a pairing runtime PM usage counter decrement is needed
to keep the counter balanced.
Signed-off-by: Dinghao Liu <[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/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions