projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8abe6
)
cec: fix system server crash for long time waiting
author
Tao Zeng
<tao.zeng@amlogic.com>
Thu, 30 Mar 2017 07:56:28 +0000
(15:56 +0800)
committer
Tao Zeng
<tao.zeng@amlogic.com>
Thu, 30 Mar 2017 08:02:20 +0000
(16:02 +0800)
PD#138714: cec: fix system server crash in cec
Avoid too long check for physical address valid
Change-Id: Ia012c0f2b9901c39d0d71fd326df2828c2a2e991
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
drivers/amlogic/cec/hdmi_ao_cec.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/cec/hdmi_ao_cec.c
b/drivers/amlogic/cec/hdmi_ao_cec.c
index
4eb473c
..
331ffe4
100644
(file)
--- a/
drivers/amlogic/cec/hdmi_ao_cec.c
+++ b/
drivers/amlogic/cec/hdmi_ao_cec.c
@@
-882,7
+882,7
@@
int cec_ll_tx(const unsigned char *msg, unsigned char len)
mutex_lock(&cec_dev->cec_mutex);
/* make sure physical address is valid before send */
if (len >= 2 && msg[1] == CEC_OC_REPORT_PHYSICAL_ADDRESS)
- check_physical_addr_valid(
MAX_INT
);
+ check_physical_addr_valid(
20
);
try_again:
reinit_completion(&cec_dev->tx_ok);