Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: qcom-rpmh: Revert "regulator: qcom-rpmh: Use PROBE_FORCE_SYNCHRONOUS"

This reverts commit 58973046c1bf ("regulator: qcom-rpmh: Use
PROBE_FORCE_SYNCHRONOUS"). Further digging into the problems that
prompted the us to switch to synchronous probe showed that the root
cause was a missing "rootwait" in the kernel command line
arguments. Let's reinstate asynchronous probe.

Fixes: 58973046c1bf ("regulator: qcom-rpmh: Use PROBE_FORCE_SYNCHRONOUS")
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20230324063357.1.Ifdf3625a3c5c9467bd87bfcdf726c884ad220a35@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Douglas Anderson and committed by
Mark Brown
ad44ac08 58973046

+1 -1
+1 -1
drivers/regulator/qcom-rpmh-regulator.c
··· 1462 1462 static struct platform_driver rpmh_regulator_driver = { 1463 1463 .driver = { 1464 1464 .name = "qcom-rpmh-regulator", 1465 - .probe_type = PROBE_FORCE_SYNCHRONOUS, 1465 + .probe_type = PROBE_PREFER_ASYNCHRONOUS, 1466 1466 .of_match_table = of_match_ptr(rpmh_regulator_match_table), 1467 1467 }, 1468 1468 .probe = rpmh_regulator_probe,