Skip to content

Commit b1b59e1

Browse files
Heikki Krogerusgregkh
authored andcommitted
usb: typec: ucsi: Increase command completion timeout value
On some boards, under heavy load, the EC firmware is unable to complete commands even in one second. Increasing the command completion timeout value to five seconds. Reported-by: Quanxian Wang <[email protected]> Fixes: c1b0bc2 ("usb: typec: Add support for UCSI interface") Cc: <[email protected]> Signed-off-by: Heikki Krogerus <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c20f53c commit b1b59e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/typec/ucsi/ucsi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* difficult to estimate the time it takes for the system to process the command
2929
* before it is actually passed to the PPM.
3030
*/
31-
#define UCSI_TIMEOUT_MS 1000
31+
#define UCSI_TIMEOUT_MS 5000
3232

3333
/*
3434
* UCSI_SWAP_TIMEOUT_MS - Timeout for role swap requests

0 commit comments

Comments
 (0)