video: exynos_dp: Remove sink control to D0
authorSean Paul <seanpaul@chromium.org>
Thu, 1 Nov 2012 01:38:49 +0000 (10:38 +0900)
committerJingoo Han <jg1.han@samsung.com>
Thu, 29 Nov 2012 01:33:27 +0000 (10:33 +0900)
According to DP spec, it is not required in the Link Training
procedure.

[jg1.han@samsung.com: modified the commit message]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
drivers/video/exynos/exynos_dp_core.c

index dd63d2dcffd99446f4247a06b1e32a71dc34a2fc..119f272deeda38ef0ba0746b9aedcfec1ee3074d 100644 (file)
@@ -278,12 +278,6 @@ static int exynos_dp_link_start(struct exynos_dp_device *dp)
        for (lane = 0; lane < lane_count; lane++)
                dp->link_train.cr_loop[lane] = 0;
 
-       /* Set sink to D0 (Sink Not Ready) mode. */
-       retval = exynos_dp_write_byte_to_dpcd(dp, DPCD_ADDR_SINK_POWER_STATE,
-                       DPCD_SET_POWER_STATE_D0);
-       if (retval)
-               return retval;
-
        /* Set link rate and count as you want to establish*/
        exynos_dp_set_link_bandwidth(dp, dp->link_train.link_rate);
        exynos_dp_set_lane_count(dp, dp->link_train.lane_count);