amlogic: di_multi_v3: Fix enum conversion warning
authorStricted <info@stricted.net>
Sat, 19 Jun 2021 23:01:47 +0000 (23:01 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Sat, 3 Jul 2021 01:04:06 +0000 (21:04 -0400)
Change-Id: I6f6a60055a0cd0d488dc36dcf2aada17edeba3bb

drivers/amlogic/media/di_multi_v3/di_pre.c

index 210b754beb552d388a1db2de553a6ca3d082cb77..8d12015e1c1e306c42b96f118c98669c8c07bdaa 100644 (file)
@@ -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*/