Skip to content

Commit eaecc1f

Browse files
Komal-BajajAnurag Pateriya
authored andcommitted
QCLINUX: drivers: increase deferred probe timeout
Certain drivers were failing to probe during boot because their dependencies were not ready within the default deferred probe timeout. To address this, increase the deferred probe timeout to allow dependent drivers sufficient time to register and avoid probe failures during system startup. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
1 parent 3491ee3 commit eaecc1f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎drivers/base/dd.c‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,11 @@ static int deferred_devs_show(struct seq_file *s, void *data)
257257
}
258258
DEFINE_SHOW_ATTRIBUTE(deferred_devs);
259259

260-
staticintdriver_deferred_probe_timeout=CONFIG_DRIVER_DEFERRED_PROBE_TIMEOUT;
260+
#ifdefCONFIG_MODULES
261+
staticintdriver_deferred_probe_timeout=15;
262+
#else
263+
staticintdriver_deferred_probe_timeout;
264+
#endif
261265

262266
staticint__initdeferred_probe_timeout_setup(char*str)
263267
{

0 commit comments

Comments
 (0)