PD#TV-9072
Problem:
backlight flicker in 50hz display mode for iw7027
Solution:
disable iw7027 50/60hz config change
Verify:
txlx
Change-Id: I9fb9f202f69946a04753fd0d7399ffe228524dce
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
dim_max = ldim_drv->ldev_conf->dim_max;
dim_min = ldim_drv->ldev_conf->dim_min;
+#if 0 /* this function will cause backlight flicker */
if (ldim_drv->vsync_change_flag == 50) {
iw7027_wreg(bl_iw7027->spi, 0x31, 0xd7);
ldim_drv->vsync_change_flag = 0;
iw7027_wreg(bl_iw7027->spi, 0x31, 0xd3);
ldim_drv->vsync_change_flag = 0;
}
+#endif
if (bl_iw7027->test_mode) {
if (test_brightness == NULL) {
if (vsync_cnt == 0)