From: Mika Westerberg Date: Sat, 16 May 2020 09:32:33 +0000 (+0300) Subject: thunderbolt: Increase DP DPRX wait timeout X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=acf815b86768d591d9ac429e3b40c703d911b6ff;p=linux.git thunderbolt: Increase DP DPRX wait timeout Sometimes it takes longer for DPRX to be set so increase the timeout to cope with this. Signed-off-by: Mika Westerberg --- diff --git a/drivers/thunderbolt/tunnel.c b/drivers/thunderbolt/tunnel.c index 45f7a50a48ff9..7896f8b7a69c2 100644 --- a/drivers/thunderbolt/tunnel.c +++ b/drivers/thunderbolt/tunnel.c @@ -545,7 +545,7 @@ static int tb_dp_consumed_bandwidth(struct tb_tunnel *tunnel, int *consumed_up, int ret; if (tb_dp_is_usb4(sw)) { - int timeout = 10; + int timeout = 20; /* * Wait for DPRX done. Normally it should be already set