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 <laurentiu.tudor@nxp.com> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Link: https://lore.kernel.org/r/20250408105814.2837951-7-ioana.ciornei@nxp.com Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
1 parent a941bed commit 23d0601

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)