diff options
| author | Hangyu Hua <[email protected]> | 2022-06-24 13:04:06 +0000 |
|---|---|---|
| committer | José Roberto de Souza <[email protected]> | 2022-06-28 13:13:04 +0000 |
| commit | cea9ed611e85d36a05db52b6457bf584b7d969e2 (patch) | |
| tree | 0aa43d9a675ebea7ba5c537df6982ad224b4c8b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/i915: Fix error code in icl_compute_combo_phy_dpll() (diff) | |
| download | kernel-cea9ed611e85d36a05db52b6457bf584b7d969e2.tar.gz kernel-cea9ed611e85d36a05db52b6457bf584b7d969e2.zip | |
drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
If drm_connector_init fails, intel_connector_free will be called to take
care of proper free. So it is necessary to drop the refcount of port
before intel_connector_free.
Fixes: 091a4f91942a ("drm/i915: Handle drm-layer errors in intel_dp_add_mst_connector")
Signed-off-by: Hangyu Hua <[email protected]>
Reviewed-by: José Roberto de Souza <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: José Roberto de Souza <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
