diff options
| author | Bixuan Cui <[email protected]> | 2021-04-08 17:18:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-09 16:02:44 +0200 |
| commit | 9535b99533904e9bc1607575aa8e9539a55435d7 (patch) | |
| tree | bcc21045eeafc1e797bc1eaa9904521775734a3b /tools/perf/scripts/python | |
| parent | a932ee40c276767cd55fadec9e38829bf441db41 (diff) | |
usb: musb: fix PM reference leak in musb_irq_work()
pm_runtime_get_sync will increment pm usage counter even it failed.
thus a pairing decrement is needed.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Bixuan Cui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions