rk32 lvds: fix lvds no display when resume
authorzwl <zwl@rock-chips.com>
Wed, 14 May 2014 02:19:02 +0000 (10:19 +0800)
committerzwl <zwl@rock-chips.com>
Wed, 14 May 2014 02:19:14 +0000 (10:19 +0800)
drivers/video/rockchip/transmitter/rk32_lvds.c

index 120c5dbb609d37999b872762979a3cff7d21299f..c90abdd49cae95e190827cbd98357f074aaa08e8 100755 (executable)
@@ -86,7 +86,7 @@ static int rk32_lvds_en(void)
 
        val |= (screen->pin_dclk << 8) | (screen->pin_hsync << 9) |
                (screen->pin_den << 10);
 
        val |= (screen->pin_dclk << 8) | (screen->pin_hsync << 9) |
                (screen->pin_den << 10);
-       val |= (val << 16);
+       val |= (0xffff << 16);
        grf_writel(val, RK3288_GRF_SOC_CON7);
 
        if (screen->type == SCREEN_RGB) {
        grf_writel(val, RK3288_GRF_SOC_CON7);
 
        if (screen->type == SCREEN_RGB) {