summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorSanjay R Mehta <sanju.mehta@amd.com>2021-09-24 09:44:24 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-09-27 12:47:36 +0200
commit641cdbea7635be3a177dbdf81356ccb16f3769e3 (patch)
tree5bc29e73f4a70f7a5a1400a8102feaafb028fd6a /drivers/thunderbolt
parentLinux 5.15-rc3 (diff)
downloadlinux-641cdbea7635be3a177dbdf81356ccb16f3769e3.tar.xz
linux-641cdbea7635be3a177dbdf81356ccb16f3769e3.zip
thunderbolt: Enable retry logic for intra-domain control packets
In case of software connection manager, the response packets are lost sometimes within the stipulated time. Hence resending the control packets in such scenario by increasing the retry count TB_CTL_RETRIES value. Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com> Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r--drivers/thunderbolt/ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c
index 0fb5e04191e2..4986edfbdf67 100644
--- a/drivers/thunderbolt/ctl.c
+++ b/drivers/thunderbolt/ctl.c
@@ -17,7 +17,7 @@
#define TB_CTL_RX_PKG_COUNT 10
-#define TB_CTL_RETRIES 1
+#define TB_CTL_RETRIES 4
/**
* struct tb_ctl - Thunderbolt control channel