From: Stricted Date: Sat, 19 Jun 2021 23:01:47 +0000 (+0000) Subject: amlogic: di_multi_v3: Fix enum conversion warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0207cf358de907cf68f3f36cb5fbad4130b8e3a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git amlogic: di_multi_v3: Fix enum conversion warning Change-Id: I6f6a60055a0cd0d488dc36dcf2aada17edeba3bb --- 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*/