summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>2018-04-13 13:27:31 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-12-02 18:03:41 +0800
commitdb62b667e62dcb66ad1dd646ca49020a9f1f6292 (patch)
tree9386a32affe3b4c5051858cc870bad6fcb77458b /drivers/bus
parente9366604ed29fe31b18c7b3d7067e8e9312d7442 (diff)
bus: fsl-mc: increase MC_CMD_COMPLETION_TIMEOUT_MS value to 15s
With recent MC release, a timeout of 500ms is not enough in most circumstances. If MC firmware will respond faster, we should decrease this value. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/fsl-mc/mc-sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/fsl-mc/mc-sys.c b/drivers/bus/fsl-mc/mc-sys.c
index 3221a7fbaf0a..24307ed59d77 100644
--- a/drivers/bus/fsl-mc/mc-sys.c
+++ b/drivers/bus/fsl-mc/mc-sys.c
@@ -19,7 +19,7 @@
/**
* Timeout in milliseconds to wait for the completion of an MC command
*/
-#define MC_CMD_COMPLETION_TIMEOUT_MS 500
+#define MC_CMD_COMPLETION_TIMEOUT_MS 15000
/*
* usleep_range() min and max values used to throttle down polling