amlogic: media: di_multi: Fix enum conversion warnings
authorTimi Rautamäki <timi.rautamaki@gmail.com>
Mon, 6 Dec 2021 18:00:27 +0000 (18:00 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:35:25 +0000 (13:35 -0500)
Change-Id: Idc9f800662e543b036fb44c3056980dc9163c18d

drivers/amlogic/media/di_multi/deinterlace_hw.c
drivers/amlogic/media/di_multi/sc2/di_hw_v3.c

index a83c9e7ab4f789d937c497b8fd287e3f3f7535f8..3c8495a6f4f9ad9edf14efed514b59081d8c1cae 100644 (file)
@@ -4866,7 +4866,7 @@ void dbg_mif_reg(struct seq_file *s, enum DI_MIF0_ID eidx)
 
        if (DIM_IS_IC_EF(SC2)) {
                reg = opl1()->reg_mif_tab[eidx];
-               seq_printf(s, "dump reg:%s\n", dim_get_mif_id_name((enum EDI_MIF_REG_INDEX)eidx));
+               seq_printf(s, "dump reg:%s\n", dim_get_mif_id_name(eidx));
 
                for (i = 0; i < MIF_REG_NUB; i++) {
                        addr = reg[i];
index fa7ce4749b013d245a5e9b28f2a37917b501ebbe..33dc9b8c7b88de19da98f725262db1145837be10 100644 (file)
@@ -4010,7 +4010,7 @@ void set_di_mif_v3(struct DI_MIF_S *mif, enum DI_MIF0_ID mif_index,
 
        if (is_mask(SC2_REG_MSK_nr)) { /* dbg */
                op = &sc2reg;
-               PR_INF("%s:%s:\n", __func__, dim_get_mif_id_name((enum EDI_MIF_REG_INDEX)mif_index));
+               PR_INF("%s:%s:\n", __func__, dim_get_mif_id_name(mif_index));
        }
 
        reg = mif_reg_get_v3();