amports: audio: Add mutex lock protect for audio port reset [1/1]
authorZhizhong Zhang <zhizhong.zhang@amlogic.com>
Fri, 25 Oct 2019 05:22:58 +0000 (13:22 +0800)
committerZhi Zhou <zhi.zhou@amlogic.com>
Mon, 28 Oct 2019 11:21:46 +0000 (04:21 -0700)
commitb0f90dfa1fbf955fb3f6df6f94037f38d734c018
treebcacfb203f92974a4bc0951daec05a4579766ac5
parentb85dd03459445af9c870c4df084b7d26936e28b7
amports: audio: Add mutex lock protect for audio port reset [1/1]

PD#OTT-6893

Problem:
System restart after launch/exit LiveTv multiple

Solution:
Add mutex lock protect for audio port reset

Verify:
patch build of U212

Change-Id: Id175422a3c829e23b59927aea6c60e8818b9dd37
Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
drivers/stream_input/amports/amstream.c