mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
cec: fix system server crash for long time waiting
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user