OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c42712c
)
drm/bridge/analogix/dp_core: Unregister DP AUX channel on error in analogix_dp_probe()
author
Lyude Paul
<lyude@redhat.com>
Fri, 19 Feb 2021 21:53:09 +0000
(16:53 -0500)
committer
Lyude Paul
<lyude@redhat.com>
Tue, 23 Mar 2021 18:19:45 +0000
(14:19 -0400)
Just another drive-by fix I noticed while going through the tree to cleanup
DP aux adapter registration - make sure we unregister the DP AUX dev if
analogix_dp_probe() fails.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210219215326.2227596-14-lyude@redhat.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
index
aa1bb86
..
f115233
100644
(file)
--- a/
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
+++ b/
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
@@
-1782,6
+1782,7
@@
int analogix_dp_bind(struct analogix_dp_device *dp, struct drm_device *drm_dev)
err_disable_pm_runtime:
pm_runtime_disable(dp->dev);
+ drm_dp_aux_unregister(&dp->aux);
return ret;
}