]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: tc358767: cleanup LT result check
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 28 May 2019 08:27:38 +0000 (11:27 +0300)
committerAndrzej Hajda <a.hajda@samsung.com>
Fri, 31 May 2019 13:41:25 +0000 (15:41 +0200)
commitc213008c7a532061a3ce1e095964d4b46757b969
tree8e3c6b5b2ba34e85a5438246a01c250e55e1127c
parent17ec5fc4d5225538b7da80c78a8d1bc9385ed82f
drm/bridge: tc358767: cleanup LT result check

The driver has a loop after ending link training, where it reads the
DPCD link status and prints an error if that status is not ok.

The loop is unnecessary, as far as I can understand from DP specs, so
let's remove it. We can also print the more specific errors to help
debugging.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190528082747.3631-16-tomi.valkeinen@ti.com
drivers/gpu/drm/bridge/tc358767.c