spmi: pmic-arb: increase SPMI transaction timeout delay
authorDavid Collins <collinsd@codeaurora.org>
Fri, 30 Sep 2022 00:50:18 +0000 (17:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Sep 2022 12:33:23 +0000 (14:33 +0200)
Increase the SPMI transaction timeout delay from 100 us to
1000 us in order to account for the slower execution time
found on some simulator targets.

Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Link: https://lore.kernel.org/r/1655004286-11493-11-git-send-email-quic_fenglinw@quicinc.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20220930005019.2663064-10-sboyd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi-pmic-arb.c

index 39f25bc..2cf3203 100644 (file)
@@ -91,7 +91,7 @@ enum pmic_arb_channel {
 
 /* Maximum number of support PMIC peripherals */
 #define PMIC_ARB_MAX_PERIPHS           512
-#define PMIC_ARB_TIMEOUT_US            100
+#define PMIC_ARB_TIMEOUT_US            1000
 #define PMIC_ARB_MAX_TRANS_BYTES       (8)
 
 #define PMIC_ARB_APID_MASK             0xFF