Merge "cec: fix system server crash for long time waiting" into amlogic-4.9-dev

This commit is contained in:
Jianxin Pan
2017-03-30 01:06:48 -07:00
committed by Gerrit Code Review

View File

@@ -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);