fix-regulator:do not load the driver asynchronously for platform spacemit

if this driver load asynchronously, the drivers that rely on it to
load in advance may not load successully

Change-Id: I0a716d4eceb8f4f729c8f059d1d386921f90ace5
This commit is contained in:
Nell
2024-06-21 15:42:47 +08:00
committed by zhangmeng
parent b320a13fc9
commit 9bfe188096

View File

@@ -333,7 +333,9 @@ static struct platform_driver regulator_fixed_voltage_driver = {
.probe = reg_fixed_voltage_probe,
.driver = {
.name = "reg-fixed-voltage",
#ifndef CONFIG_SOC_SPACEMIT
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
#endif
.of_match_table = of_match_ptr(fixed_of_match),
},
};