From: Timi Rautamäki Date: Mon, 6 Dec 2021 18:00:27 +0000 (+0000) Subject: amlogic: media: di_multi: Fix enum conversion warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=67e2c37dfd5542b8a58d7e78c479879078d0907e;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git amlogic: media: di_multi: Fix enum conversion warnings Change-Id: Idc9f800662e543b036fb44c3056980dc9163c18d --- diff --git a/drivers/amlogic/media/di_multi/deinterlace_hw.c b/drivers/amlogic/media/di_multi/deinterlace_hw.c index a83c9e7ab4f7..3c8495a6f4f9 100644 --- a/drivers/amlogic/media/di_multi/deinterlace_hw.c +++ b/drivers/amlogic/media/di_multi/deinterlace_hw.c @@ -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]; diff --git a/drivers/amlogic/media/di_multi/sc2/di_hw_v3.c b/drivers/amlogic/media/di_multi/sc2/di_hw_v3.c index fa7ce4749b01..33dc9b8c7b88 100644 --- a/drivers/amlogic/media/di_multi/sc2/di_hw_v3.c +++ b/drivers/amlogic/media/di_multi/sc2/di_hw_v3.c @@ -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();