diff options
author | Zhang Qilong <[email protected]> | 2020-10-30 23:49:09 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2020-12-13 16:17:40 +0100 |
commit | 8711071e9700b67045fe5518161d63f7a03e3c9e (patch) | |
tree | ff4acdab7061b0481e2750a52a0a7420ecf1183e /tools/perf/scripts/python | |
parent | 8650d0f9e9334f2e1c209f1e2ac8341f91e30d75 (diff) |
watchdog: rti-wdt: fix reference leak in rti_wdt_probe
pm_runtime_get_sync() will increment pm usage counter even it
failed. Forgetting to call pm_runtime_put_noidle will result
in reference leak in rti_wdt_probe, so we should fix it.
Signed-off-by: Zhang Qilong <[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')
0 files changed, 0 insertions, 0 deletions