diff options
| author | Zou Wei <[email protected]> | 2021-05-31 06:36:03 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-06-03 11:07:37 +0000 |
| commit | dea8464ddf553803382efb753b6727dbf3931d06 (patch) | |
| tree | 2fd2d72d307fc82fb2d69c92a86913a5b66b6d46 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | dmaengine: idxd: Fix missing error code in idxd_cdev_open() (diff) | |
| download | kernel-dea8464ddf553803382efb753b6727dbf3931d06.tar.gz kernel-dea8464ddf553803382efb753b6727dbf3931d06.zip | |
dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
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: Zou Wei <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
