mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
hdmirx: fix read edid panic issue [1/1]
PD#SWPL-4088 Problem: There will be kernel panic when read edid via hdmirx driver interface Solution: modify the rd_top interface Verify: TL1 android P Change-Id: Ifb595cc66a2e792bc5153d726258deb7ba4e741c Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
b836684030
commit
1923b697e4
@@ -46,7 +46,7 @@
|
||||
*
|
||||
*
|
||||
*/
|
||||
#define RX_VER2 "ver.2019/01/10"
|
||||
#define RX_VER2 "ver.2019/01/16"
|
||||
|
||||
/*print type*/
|
||||
#define LOG_EN 0x01
|
||||
|
||||
@@ -477,7 +477,7 @@ void wr_reg(enum map_addr_module_e module,
|
||||
* returns unsigned char bytes read from the addr
|
||||
*/
|
||||
unsigned char rd_reg_b(enum map_addr_module_e module,
|
||||
unsigned char reg_addr)
|
||||
unsigned int reg_addr)
|
||||
{
|
||||
unsigned char val = 0;
|
||||
|
||||
|
||||
@@ -1117,7 +1117,7 @@ extern void wr_reg(enum map_addr_module_e module,
|
||||
unsigned int reg_addr,
|
||||
unsigned int val);
|
||||
extern unsigned char rd_reg_b(enum map_addr_module_e module,
|
||||
unsigned char reg_addr);
|
||||
unsigned int reg_addr);
|
||||
extern void wr_reg_b(enum map_addr_module_e module,
|
||||
unsigned int reg_addr, unsigned char val);
|
||||
extern void hdmirx_wr_top(unsigned int addr, unsigned int data);
|
||||
|
||||
Reference in New Issue
Block a user