drm/bridge: analogix_dp: Don't create useless connectors
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 5 Mar 2018 08:57:41 +0000 (09:57 +0100)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 7 Mar 2018 15:18:00 +0000 (16:18 +0100)
commit2e9b3e74b4a184f657995cf28963f72531c7a420
tree3189afb443911c681d186913c4c6e3786bff2a61
parentf25c83581583eca9b1c1e6fd2914c7f8a1be22de
drm/bridge: analogix_dp: Don't create useless connectors

If there is another bridge after analogix_dp, then the connector object
should not be created. This fixes following timeouts on Exynos5420-based
Chromebook2 Peach-PIT board during boot:

exynos-dp 145b0000.dp-controller: AUX CH cmd reply timeout!
exynos-dp 145b0000.dp-controller: AUX CH enable timeout!
exynos-dp 145b0000.dp-controller: AUX CH enable timeout!
exynos-dp 145b0000.dp-controller: AUX CH enable timeout!
exynos-dp 145b0000.dp-controller: AUX CH enable timeout!

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180305085741.18896-4-m.szyprowski@samsung.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/exynos/exynos_dp.c
include/drm/bridge/analogix_dp.h