mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user