drm/rockchip: dw-mipi: use phy_get_bus_width to fetch the lane_mbps for rk3368
authorWeiYong Bi <bivvy.bi@rock-chips.com>
Wed, 29 Mar 2017 09:36:58 +0000 (17:36 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 7 Apr 2017 06:22:20 +0000 (14:22 +0800)
commit0a95d11068a459d35607f6af6e2b2d5ce9052cb8
tree346f0d1a8493523e34b75c062594bc77c9cbd27f
parent7f1daee88f2a435a744e7b6a9649adc9ef8c2705
drm/rockchip: dw-mipi: use phy_get_bus_width to fetch the lane_mbps for rk3368

1) If using the third part PHY, we use phy_get_bus_width() to fetch the
PHY lane rate in order to properly configure the controller.
2) Removed unneeded code.

Change-Id: I5c245e65f58665aa5fc025d6579e8bb331554458
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com>
drivers/gpu/drm/rockchip/dw-mipi-dsi.c