diff options
author | Lyude Paul <[email protected]> | 2021-02-19 16:53:05 -0500 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2021-03-23 14:18:45 -0400 |
commit | 212ee8db84600f7b279b8645c62a112bff310995 (patch) | |
tree | e49a03c0a2178ab12ddde7cc1133eaa7de543472 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9962849d0871f5e53d0e3b3d84561f8f2847fbf4 (diff) |
drm/bridge/analogix/anx78xx: Cleanup on error in anx78xx_bridge_attach()
Just another issue I noticed while correcting usages of
drm_dp_aux_init()/drm_dp_aux_register() around the tree. If any of the
steps in anx78xx_bridge_attach() fail, we end up leaking resources. So,
let's fix that (and fix leaking a DP AUX adapter in the process) by
unrolling on errors.
Signed-off-by: Lyude Paul <[email protected]>
Reviewed-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions