vdin: HDMI source occurred tortured picture and had sound [1/1]
authorzhiwei.yuan <zhiwei.yuan@amlogic.com>
Fri, 30 Aug 2019 08:24:59 +0000 (16:24 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 9 Sep 2019 01:21:06 +0000 (18:21 -0700)
commit4cd71c20f174bd96d4a126a9fffe7668e19966d4
tree9d81b07a79a97841f4deca11407ba65a88ef8a94
parent27c28074f7cfba62fb262ce099b3e93c314f83c8
vdin: HDMI source occurred tortured picture and had sound [1/1]

PD#SWPL-13676

Problem:
vdin status is confused when enter hdmi

Solution:
reset afifo every time enter the channel

Verify:
verified by t962x2_x301

Change-Id: I9ec78bebec4d2d5e312de82942c29a940fc322ea
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
drivers/amlogic/media/vin/tvin/vdin/vdin_ctl.c
drivers/amlogic/media/vin/tvin/vdin/vdin_regs.h