hdmirx: fix hdcp2.2 request_mem_region fail issue [1/1]

PD#SWPL-14563

Problem:
hdcp_rx22 passed a wrong HPI address to hdmirx driver,
and cause HPI address request_mem_region fail

Solution:
Use the correct HPI address when request_mem_region called.

Verify:
TL1

Change-Id: I80bd6323ae4959edf3c792758568c581024536bb
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
This commit is contained in:
yicheng shen
2019-09-25 07:18:05 -04:00
committed by Luke Go
parent 4cf2cff964
commit d6e9bc98a6
2 changed files with 3 additions and 2 deletions

View File

@@ -325,7 +325,8 @@ static long init(struct file *f, void __user *arg)
rc = alloc_dma_areas(esm, &info);
if (rc < 0)
goto err_free;
info.hpi_base =
reg_maps[MAP_ADDR_MODULE_HDMIRX_CAPB3].phy_addr;
hpi_mem = request_mem_region(info.hpi_base, 128, "esm-hpi");
if (!hpi_mem) {
rc = -EADDRNOTAVAIL;

View File

@@ -47,7 +47,7 @@
*
*
*/
#define RX_VER2 "ver.2019/09/11"
#define RX_VER2 "ver.2019/09/25"
/*print type*/
#define LOG_EN 0x01