osd: fix the fifo ctrl setting error
authorBrian Zhu <brian.zhu@amlogic.com>
Fri, 23 Feb 2018 10:07:56 +0000 (18:07 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Mon, 5 Mar 2018 07:34:34 +0000 (15:34 +0800)
PD#156734: osd: fix the fifo ctrl setting error

Change-Id: I67560a98592b800658d9d8da3a314aac42d66ad2
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c

index 9e00e86..9fc6c16 100644 (file)
@@ -5818,6 +5818,9 @@ void osd_init_hw(u32 logo_loaded, u32 osd_probe,
                        osd_reg_set_bits(
                                hw_osd_reg_array[idx].osd_fifo_ctrl_stat,
                                1, 31, 1);
+                       osd_reg_set_bits(
+                               hw_osd_reg_array[idx].osd_fifo_ctrl_stat,
+                               1, 10, 2);
                        /* TODO: temp set at here, need check for logo */
                        if (idx > 0)
                                osd_reg_set_bits(