Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 01ee9f96 authored by Winni Chang's avatar Winni Chang
Browse files

Add delay for switching eARC to ARC

Certain eARC devices need to wait for eARC timeout to enter ARC mode.
If there is no delay for these devices, devices would answer
<Request ARC Initiated> with <Feature Abort> [Not in correct mode to
respond].

[Solution]
Add delay when switching eARC mode from eARC to ARC.
The reason for 500ms is as follows.

TeARC_LOST_HEARTBEAT  120-130ms
timeout starting from last received heartbeat to entering [RX DISC1] state
130ms is max time for AVR to leave RX_eARC

TeARC_RX_TIMEOUT 250-300ms
Heartbeat timeout startingfrom entry into [RX IDLE1] state @ eARC RX
300ms is max time for AVR to give up waiting for next heartbeat start

In total this means a max. total timeout of 430 ms. That's why we delay ARC initiation by 500 ms.

Bug: 253387972
(cherry picked from https://keystone-mtk-review.git.corp.google.com/c/platform/frameworks/base/+/135980)

Change-Id: Idd9221f206144e04241a70af9ca7529a20913adb
parent 3814571e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment