]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/rockchip: analogix_dp: reorder psr_unregister call in unbind
authorJeffy Chen <jeffy.chen@rock-chips.com>
Thu, 1 Mar 2018 15:25:58 +0000 (16:25 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 1 Mar 2018 15:35:29 +0000 (16:35 +0100)
commitd8e7e73e66d0566a82cb91642680ec0d1f77eda6
tree0c781d34de78161921ffa788521d68bd3f8c6e17
parentc8c045142125e7c054f66241d9f3b3151bb70daf
drm/rockchip: analogix_dp: reorder psr_unregister call in unbind

In bind the psr handler gets registered first before the core
analogix_dp_bind() gets called. So it should be the other way
around in unbind, first unbind the analogix_dp and then
unregister the psr.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/76025075.yWNtk1v57f@phil
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c