rk3036/rk3128 tve: fix compile error.
authorZheng Yang <zhengyang@rock-chips.com>
Fri, 17 Oct 2014 00:52:40 +0000 (08:52 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Fri, 17 Oct 2014 00:52:40 +0000 (08:52 +0800)
drivers/video/rockchip/tve/rk3036/rk3036_tve.c

index d28559ad1189d28be32cab5e6dc006099227f361..79118f6f04fa524b510da7283fa7242e3382f6a0 100644 (file)
@@ -78,7 +78,7 @@ static void tve_set_mode(int mode)
        if (cvbsformat >= 0)
                return;
        tve_writel(TV_RESET, v_RESET(1));
-       udelay_range(100, 100);
+       usleep_range(100, 100);
        tve_writel(TV_RESET, v_RESET(0));
        if (rk3036_tve->inputformat == INPUT_FORMAT_RGB)
                tve_writel(TV_CTRL, v_CVBS_MODE(mode) | v_CLK_UPSTREAM_EN(2) |
@@ -130,7 +130,7 @@ static void tve_set_mode(int mode)
                if (rk3036_tve->soctype == SOC_RK312X) {
                        tve_writel(TV_ADJ_TIMING, (0xa << 28) |
                                        0x06c00800 | 0x80);
-                       udelay_range(100, 100);
+                       usleep_range(100, 100);
                        tve_writel(TV_ADJ_TIMING, (0xa << 28) |
                                        0x06c00800 | 0x80);
                        tve_writel(TV_ACT_TIMING, 0x0694011D |