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: c1b0bc2dab ("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]>
This commit is contained in:
Heikki Krogerus authored and Greg Kroah-Hartman committed 2018-04-22 14:54:50 +02:00
1 parent c20f53c582
commit b1b59e1607
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@
* difficult to estimate the time it takes for the system to process the command
* before it is actually passed to the PPM.
*/
#define UCSI_TIMEOUT_MS 1000
#define UCSI_TIMEOUT_MS 5000
/*
* UCSI_SWAP_TIMEOUT_MS - Timeout for role swap requests