mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
media: cec: Set kernel not do retransmit
HDMI protocol does not allow retransmit more than five times when send cec message failed. In android system, we do retransmit in framework only. Change-Id: I7bd1a4aa48874be11e4948d60e0c36077268c1c9 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
parent
438372dd2a
commit
64b91f4baf
|
|
@ -511,8 +511,11 @@ int cec_thread_func(void *_adap)
|
|||
if (data->msg.len == 1 && adap->is_configured)
|
||||
attempts = 2;
|
||||
else
|
||||
#ifdef CONFIG_ANDROID
|
||||
attempts = 1;
|
||||
#else
|
||||
attempts = 4;
|
||||
|
||||
#endif
|
||||
/* Set the suggested signal free time */
|
||||
if (data->attempts) {
|
||||
/* should be >= 3 data bit periods for a retry */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user