diff options
| author | Navid Emamdoost <[email protected]> | 2020-06-15 01:12:20 -0500 |
|---|---|---|
| committer | Lucas Stach <[email protected]> | 2020-07-17 17:10:34 +0200 |
| commit | c5d5a32ead1e3a61a07a1e59eb52a53e4a6b2a7f (patch) | |
| tree | 1a42966580e46728ed331b64ae5e6e515eb3a4d8 /drivers/platform/surface/aggregator/controller.c | |
| parent | 6a5ef3b224c63f500cc4a1b9a2cef8a9a3a328da (diff) | |
drm/etnaviv: fix ref count leak via pm_runtime_get_sync
in etnaviv_gpu_submit, etnaviv_gpu_recover_hang, etnaviv_gpu_debugfs,
and etnaviv_gpu_init the call to pm_runtime_get_sync increments the
counter even in case of failure, leading to incorrect ref count.
In case of failure, decrement the ref count before returning.
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions