tve:gm7122: When gm7122 init, do not switch fb.
authorShenZhengyi <szy@rock-chips.com>
Mon, 6 Jul 2015 01:54:36 +0000 (09:54 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Tue, 7 Jul 2015 01:11:08 +0000 (09:11 +0800)
it can avoid green screen, when HDMI switch to CVBS.

Signed-off-by: ShenZhengyi <szy@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
drivers/video/rockchip/tve/gm7122/gm7122_tve.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 0781532..47642c7
@@ -433,8 +433,8 @@ static int gm7122_tve_probe(struct i2c_client *client,
        if (cvbsformat >= 0) {
                gm7122_tve->mode =
                        (struct fb_videomode *)&gm7122_cvbs_mode[cvbsformat];
-               gm7122_tve->enable = 1;
-               tve_switch_fb(gm7122_tve->mode, 1);
+               /*gm7122_tve->enable = 1;
+               tve_switch_fb(gm7122_tve->mode, 1);*/
        } else {
                gm7122_tve->mode = (struct fb_videomode *)&gm7122_cvbs_mode[1];
        }