From e0207cf358de907cf68f3f36cb5fbad4130b8e3a Mon Sep 17 00:00:00 2001 From: Stricted Date: Sat, 19 Jun 2021 23:01:47 +0000 Subject: [PATCH] amlogic: di_multi_v3: Fix enum conversion warning Change-Id: I6f6a60055a0cd0d488dc36dcf2aada17edeba3bb --- drivers/amlogic/media/di_multi_v3/di_pre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/di_multi_v3/di_pre.c b/drivers/amlogic/media/di_multi_v3/di_pre.c index 210b754beb55..8d12015e1c1e 100644 --- a/drivers/amlogic/media/di_multi_v3/di_pre.c +++ b/drivers/amlogic/media/di_multi_v3/di_pre.c @@ -89,7 +89,7 @@ void dprev3_init(void) {/*reg:*/ struct di_hpre_s *pre = get_hw_pre(); - pre->pre_st = eDI_PRE_ST_IDLE; + pre->pre_st = (enum eDI_PRE_ST4)eDI_PRE_ST_IDLE; /*timer out*/ div3_tout_int(&pre->tout, 40); /*ms*/ -- 2.20.1