Skip to content

Commit 23d0601

Browse files
tudorlchleroy
authored andcommitted
bus: fsl-mc: increase MC_CMD_COMPLETION_TIMEOUT_MS value
In case the MC firmware runs in debug mode with extensive prints pushed to the console, the current timeout of 500ms is not enough. Increase the timeout value so that we don't have any chance of wrongly assuming that the firmware is not responding when it's just taking more time. Signed-off-by: Laurentiu Tudor <[email protected]> Signed-off-by: Ioana Ciornei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christophe Leroy <[email protected]>
1 parent a941bed commit 23d0601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/bus/fsl-mc/mc-sys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/*
2020
* Timeout in milliseconds to wait for the completion of an MC command
2121
*/
22-
#define MC_CMD_COMPLETION_TIMEOUT_MS 500
22+
#define MC_CMD_COMPLETION_TIMEOUT_MS 15000
2323

2424
/*
2525
* usleep_range() min and max values used to throttle down polling

0 commit comments

Comments
 (0)