drm/bridge: tc358767: fix tc_aux_get_status error handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 28 May 2019 08:27:24 +0000 (11:27 +0300)
committerAndrzej Hajda <a.hajda@samsung.com>
Fri, 31 May 2019 13:41:15 +0000 (15:41 +0200)
commitbfb6e014c45f84b3bab1842a04907c10c3d63f95
tree3c72ad427ab32d4605a95b0fe3a62bb809ee1e59
parentc25b84c008264e5ec7fae113a3729442eee31fea
drm/bridge: tc358767: fix tc_aux_get_status error handling

tc_aux_get_status() does not report AUX_TIMEOUT correctly, as it only
checks the AUX_TIMEOUT if aux is still busy. Fix this by always checking
for AUX_TIMEOUT.

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-2-tomi.valkeinen@ti.com
drivers/gpu/drm/bridge/tc358767.c