From 67e2c37dfd5542b8a58d7e78c479879078d0907e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timi=20Rautam=C3=A4ki?= Date: Mon, 6 Dec 2021 18:00:27 +0000 Subject: [PATCH] amlogic: media: di_multi: Fix enum conversion warnings Change-Id: Idc9f800662e543b036fb44c3056980dc9163c18d --- drivers/amlogic/media/di_multi/deinterlace_hw.c | 2 +- drivers/amlogic/media/di_multi/sc2/di_hw_v3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1