Commit 7b017a58 authored by Jeffy Chen's avatar Jeffy Chen Committed by Sean Paul

drm: bridge: analogix: Unregister dp aux when unbinding

The dp aux is registered when binding analogix dp.
Signed-off-by: default avatarJeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1491481885-13775-3-git-send-email-jeffy.chen@rock-chips.com
parent 18aea7db
...@@ -1447,6 +1447,7 @@ void analogix_dp_unbind(struct device *dev, struct device *master, ...@@ -1447,6 +1447,7 @@ void analogix_dp_unbind(struct device *dev, struct device *master,
DRM_ERROR("failed to detach the panel\n"); DRM_ERROR("failed to detach the panel\n");
} }
drm_dp_aux_unregister(&dp->aux);
pm_runtime_disable(dev); pm_runtime_disable(dev);
} }
EXPORT_SYMBOL_GPL(analogix_dp_unbind); EXPORT_SYMBOL_GPL(analogix_dp_unbind);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment