mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
tve:gm7122: When gm7122 init, do not switch fb.
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>
This commit is contained in:
4
drivers/video/rockchip/tve/gm7122/gm7122_tve.c
Normal file → Executable file
4
drivers/video/rockchip/tve/gm7122/gm7122_tve.c
Normal file → Executable file
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user