video: exynos_dp: reduce delay time when configuring video setting
authorJingoo Han <jg1.han@samsung.com>
Fri, 25 May 2012 07:21:38 +0000 (16:21 +0900)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 29 May 2012 13:16:15 +0000 (13:16 +0000)
This patch reduces delay time when configuring video setting,
which is helpful to reduce wakeup time during resume.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/exynos/exynos_dp_core.c

index b446f7e..a36b2d2 100644 (file)
@@ -770,7 +770,7 @@ static int exynos_dp_config_video(struct exynos_dp_device *dp,
                        return -ETIMEDOUT;
                }
 
-               mdelay(100);
+               udelay(1);
        }
 
        /* Set to use the register calculated M/N video */
@@ -804,7 +804,7 @@ static int exynos_dp_config_video(struct exynos_dp_device *dp,
                        return -ETIMEDOUT;
                }
 
-               mdelay(100);
+               mdelay(1);
        }
 
        if (retval != 0)