vdec: initialize work before interrupt comming [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Thu, 18 Jun 2020 12:15:22 +0000 (20:15 +0800)
committerApollo Ling <apollo.ling@amlogic.com>
Tue, 23 Jun 2020 07:02:16 +0000 (00:02 -0700)
commitff10c21017ac56d031386fe164300274af259272
treed28a42538caec6509b507fae260dfb61f3f7ab29
parent3580b1e06af10171a7e846fa1929c5adec6b9f63
vdec: initialize work before interrupt comming [1/1]

PD#SWPL-27087

Problem:
The work is executed before it is initialized.

Solution:
initialize work before interrupt comming

Verify:
AC214

Change-Id: Ida18f12e390e518421b498f6373a3e30766d91f4
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/avs/avs.c
drivers/frame_provider/decoder/real/vreal.c