]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
firmware: imx: scu: increase RPC timeout
authorDong Aisheng <aisheng.dong@nxp.com>
Mon, 7 Aug 2023 12:14:26 +0000 (20:14 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Aug 2023 14:13:55 +0000 (22:13 +0800)
When system loading is high, we can meet some command timeout
issue occasionally, so increase the timeout to a safe value.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/firmware/imx/imx-scu.c

index 2d24359420d85e73eddbdb4bfac1c762014528d0..14ff9d3504bf696d0055596335ebfd18464396a8 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/platform_device.h>
 
 #define SCU_MU_CHAN_NUM                8
-#define MAX_RX_TIMEOUT         (msecs_to_jiffies(30))
+#define MAX_RX_TIMEOUT         (msecs_to_jiffies(3000))
 
 struct imx_sc_chan {
        struct imx_sc_ipc *sc_ipc;