summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2020-06-15 08:12:20 +0200
committerLucas Stach <l.stach@pengutronix.de>2020-07-17 17:10:34 +0200
commitc5d5a32ead1e3a61a07a1e59eb52a53e4a6b2a7f (patch)
tree1a42966580e46728ed331b64ae5e6e515eb3a4d8 /virt
parentdrm/etnaviv: Simplify clock enable/disable (diff)
downloadlinux-c5d5a32ead1e3a61a07a1e59eb52a53e4a6b2a7f.tar.xz
linux-c5d5a32ead1e3a61a07a1e59eb52a53e4a6b2a7f.zip
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 <navid.emamdoost@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions