ipmi:ssif: Increase the message retry time
authorCorey Minyard <cminyard@mvista.com>
Thu, 3 Nov 2022 20:03:11 +0000 (15:03 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:20 +0000 (08:50 +0100)
[ Upstream commit 39721d62bbc16ebc9bb2bdc2c163658f33da3b0b ]

The spec states that the minimum message retry time is 60ms, but it was
set to 20ms.  Correct it.

Reported by: Tony Camuso <tcamuso@redhat.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Stable-dep-of: 00bb7e763ec9 ("ipmi:ssif: Add a timer between request retries")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/ipmi/ipmi_ssif.c

index cbd5688..c25c4b1 100644 (file)
@@ -74,7 +74,7 @@
 /*
  * Timer values
  */
-#define SSIF_MSG_USEC          20000   /* 20ms between message tries. */
+#define SSIF_MSG_USEC          60000   /* 60ms between message tries. */
 #define SSIF_MSG_PART_USEC     5000    /* 5ms for a message part */
 
 /* How many times to we retry sending/receiving the message. */