mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09: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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user