drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the panel
authorLin Huang <hl@rock-chips.com>
Mon, 23 Apr 2018 10:49:43 +0000 (12:49 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Tue, 24 Apr 2018 06:34:35 +0000 (08:34 +0200)
commit63872659fca7997af290ddfaaf73a61bdd7cbedb
treeea3268b4c1e23d11da83f2f4651c5f451121e457
parentd79acb593290e1faeec6d9032c08fc0ab38080e0
drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the panel

When panel is shut down, we should make sure edp can be disabled to avoid
undefined behavior.

Cc: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: zain wang <wzz@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-8-enric.balletbo@collabora.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c