tvafe: reset vdin asynchronous fifo in tvafe reset

PD#165571: fix greenscreen on repeatly power on/off

Change-Id: Iefa412c2c4f86ba525bfdebbf395d38d34b77a30
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
This commit is contained in:
Nian Jing
2018-05-09 16:19:02 +08:00
committed by Yixun Lan
parent 5aa2357ea0
commit 98aa399781

View File

@@ -875,8 +875,13 @@ void tvafe_set_apb_bus_err_ctrl(void)
*/
static void tvafe_reset_module(void)
{
pr_info("tvafe_reset_module.\n");
W_APB_BIT(TVFE_RST_CTRL, 1, ALL_CLK_RST_BIT, ALL_CLK_RST_WID);
W_APB_BIT(TVFE_RST_CTRL, 0, ALL_CLK_RST_BIT, ALL_CLK_RST_WID);
/*reset vdin asynchronous fifo*/
/*for greenscreen on repeatly power on/off*/
W_APB_BIT(TVFE_RST_CTRL, 1, SAMPLE_OUT_RST_BIT, SAMPLE_OUT_RST_WID);
W_APB_BIT(TVFE_RST_CTRL, 0, SAMPLE_OUT_RST_BIT, SAMPLE_OUT_RST_WID);
}
/*