drm/bridge: tc358767: fix single lane configuration
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Jan 2019 11:59:50 +0000 (13:59 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Wed, 9 Jan 2019 09:49:29 +0000 (10:49 +0100)
commit4d9d54a730434cc068dd3515ba6116697196f77b
tree7c275df1fcb4ddf9bf36e618eac183548206a699
parentadf4109896bbee27fd2ac3b48d22d6a0062fe517
drm/bridge: tc358767: fix single lane configuration

PHY_2LANE bit is always set in DP_PHY_CTRL, breaking 1 lane use.

Set PHY_2LANE only when 2 lanes are used.

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