thunderbolt: Increase DP DPRX wait timeout
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sat, 16 May 2020 09:32:33 +0000 (12:32 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 22 Jun 2020 16:58:20 +0000 (19:58 +0300)
Sometimes it takes longer for DPRX to be set so increase the timeout to
cope with this.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tunnel.c

index 45f7a50..7896f8b 100644 (file)
@@ -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