diff options
author | Jeffy Chen <[email protected]> | 2017-04-06 20:31:15 +0800 |
---|---|---|
committer | Sean Paul <[email protected]> | 2017-04-07 13:28:31 -0400 |
commit | 7b017a5816935b850754c0da5be21d05c35a19b7 (patch) | |
tree | 03e1f7a828c07ba3cb31c8e33d68815f9f1619f4 | |
parent | 18aea7db8446f9b3c83228ff6772086ad8d0a023 (diff) |
drm: bridge: analogix: Unregister dp aux when unbinding
The dp aux is registered when binding analogix dp.
Signed-off-by: Jeffy Chen <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 28144a1fb4f3..7b75f822045e 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -1447,6 +1447,7 @@ void analogix_dp_unbind(struct device *dev, struct device *master, DRM_ERROR("failed to detach the panel\n"); } + drm_dp_aux_unregister(&dp->aux); pm_runtime_disable(dev); } EXPORT_SYMBOL_GPL(analogix_dp_unbind); |