Skip to content

Commit 27aa3a3

Browse files
authored
Merge pull request #360 from FrameworkComputer/fix_ucsi_race_condition
[Revert] Add delay time to send UCSI get_connector_status command
2 parents b7a6ab8 + e10acf1 commit 27aa3a3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

board/hx20/ucsi.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,7 @@ void check_ucsi_event_from_host(void)
287287
*/
288288
rv = ucsi_write_tunnel();
289289

290-
if (is_delay)
291-
ucsi_set_next_poll(500*MSEC);
292-
else
293-
ucsi_set_next_poll(10*MSEC);
290+
ucsi_set_next_poll(10*MSEC);
294291

295292
if (rv == EC_ERROR_BUSY)
296293
return;

0 commit comments

Comments
 (0)