From: Casey Bowman Date: Wed, 10 Feb 2021 19:20:41 +0000 (-0800) Subject: platform/x86: intel_scu_ipc: Increase virtual timeout from 3 to 5 seconds X-Git-Tag: accepted/tizen/unified/20230118.172025~7824^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7d53dbbc70a81d5781da7fc905b656f41ad2381;p=platform%2Fkernel%2Flinux-rpi.git platform/x86: intel_scu_ipc: Increase virtual timeout from 3 to 5 seconds Increasing the virtual timeout time to account for scenarios that may require more time, like DisplayPort Multi-Stream Transport (DP MST), where the disconnect time can be extended longer than usual. The recommended timeout range is 5-10 seconds, of which we will take the lower bound. Signed-off-by: Casey Bowman Acked-by: Heikki Krogerus Acked-by: Mika Westerberg Acked-by: Andy Shevchenko Link: https://lore.kernel.org/r/20210210192041.17022-1-casey.g.bowman@intel.com Signed-off-by: Hans de Goede --- diff --git a/drivers/platform/x86/intel_scu_ipc.c b/drivers/platform/x86/intel_scu_ipc.c index d9cf7f7..9171a46 100644 --- a/drivers/platform/x86/intel_scu_ipc.c +++ b/drivers/platform/x86/intel_scu_ipc.c @@ -75,7 +75,7 @@ struct intel_scu_ipc_dev { #define IPC_READ_BUFFER 0x90 /* Timeout in jiffies */ -#define IPC_TIMEOUT (3 * HZ) +#define IPC_TIMEOUT (5 * HZ) static struct intel_scu_ipc_dev *ipcdev; /* Only one for now */ static DEFINE_MUTEX(ipclock); /* lock used to prevent multiple call to SCU */