hdmirx: fix hdcp2.2 cant work after resume issue [1/1]

PD#SWPL-3187

Problem:
hdcp2.2 cant work after resume

Solution:
Update ESM hard reset handle

Verify:
Local

Change-Id: If8e94db2c2882896b547410537652056bc902f47
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
This commit is contained in:
yicheng shen
2018-12-13 01:28:35 -05:00
committed by Luke Go
parent d989dfb5c0
commit a907f9875c

View File

@@ -1706,10 +1706,15 @@ if (en) {
*/
void hdmirx_hdcp22_esm_rst(void)
{
hdmirx_wr_top(TOP_SW_RESET, 0x100);
mdelay(1);
hdmirx_wr_top(TOP_SW_RESET, 0x0);
rx_pr("esm rst\n");
/* For TL1,the sw_reset_hdcp22 bit is top reg 0x0,bit'12 */
if (rx.chip_id == CHIP_ID_TL1)
hdmirx_wr_top(TOP_SW_RESET, 0x1000);
else
/* For txlx and previous chips,the sw_reset_hdcp22 is bit'8 */
hdmirx_wr_top(TOP_SW_RESET, 0x100);
mdelay(1);
hdmirx_wr_top(TOP_SW_RESET, 0x0);
rx_pr("esm rst\n");
}
/*