]> 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)
commitba6f72d5eead87d76d5bdc4a59b45c11d17af4bb
tree8e3c6b5b2ba34e85a5438246a01c250e55e1127c
parent4d90b2d2a8f20b4a98d5ea3214ae376d66d36875
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