vdec: add lock to core_show function [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Thu, 21 May 2020 07:26:40 +0000 (15:26 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Mon, 25 May 2020 05:36:03 +0000 (22:36 -0700)
commit2743b7c1998bde0d926cada1c68feafddfab50ba
treea59c2fec020356706798b99a0f98de119fc7df65
parentd44eaef0a3e91a2e4cfa7b0fc423a3b57387883c
vdec: add lock to core_show function [1/1]

PD#SWPL-26415

Problem:
There is no lock in core_show function when access core->connected_vdec_list

Solution:
Add lock to the function.

Verify:
u212

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