vdec: in vdec release add timeout for waiting thread_fn [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Thu, 17 Sep 2020 03:01:49 +0000 (11:01 +0800)
committerApollo Ling <apollo.ling@amlogic.com>
Fri, 23 Oct 2020 06:20:06 +0000 (23:20 -0700)
commit721cd261902359563abcae08040e0b696419108d
tree2a69626190c89779a1f0efe124573cda0670421e
parentd9713959a8e0dce368ba06167139071126fda209
vdec: in vdec release add timeout for waiting thread_fn [1/1]

PD#SWPL-32996

Problem:
In suspending scenario the vdec release is blocked by waiting thread_fn

Solution:
In vdec release function add timeout for waiting thread_fn

Verify:
u212

Change-Id: I3ee4a8cc4b06e922a144f3c84f6c5517dadaa24c
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/utils/vdec.c