diff options
| author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2020-10-14 20:12:30 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-16 22:11:01 +0300 |
| commit | f5213f827c8748b99741406342d75d8d6641ddcc (patch) | |
| tree | 190eacea65da5818d9c48fc62e74949710b6cd77 /scripts/const_structs.checkpatch | |
| parent | 268f3a4388b0bf6cc6a344fcf576c4153b2c86c6 (diff) | |
| download | linux-f5213f827c8748b99741406342d75d8d6641ddcc.tar.xz | |
drm/amd/display: Avoid MST manager resource leak.
On connector destruction call drm_dp_mst_topology_mgr_destroy
to release resources allocated in drm_dp_mst_topology_mgr_init.
Do it only if MST manager was initilized before otherwsie a crash
is seen on driver unload/device unplug.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
