regulator: Set PROBE_PREFER_ASYNCHRONOUS for everything in drivers/regulator
Subsystems (27)
cover regulator: Set PROBE_PREFER_ASYNCHRONOUS for everything in drivers/regulator
This series directly follows from the discussion when I tried to turn on PROBE_PREFER_ASYNCHRONOUS just for the fixed-regulator [1] and attempts to switch everything in drivers/regulator over to async probe.
Like the similar patch series I did for the MMC subsystem a few years ago [2], I've split this patch series into batches corresponding to drivers corresponding to actively maintained stable kernel trees with the idea to break the patch series up somewhat.
Most of the description of this series is contained in the first patch of the series and then the further patches simply refer back to the first one. The logic and reasoning behind all the patches is exactly the same.
As talked about in the first patch, it wouldn't be at all shocking if this broke someone. Hopefully this doesn't cause too much of a problem. Most of the problems expected would be real underlying bugs that already existed and were just tickled by this change. If you're facing a problem, it's fairly easy to force individual drivers back to "synchronous" probing while the problem is tracked down and fixed.
I am opting _not_ to CC every single person involved in each of these regulators on this patch series because I suspect that the mailing lists couldn't handle CCing that many people. This should be on LKML so hopefully people can find it there and respond to it that way. Anyone who responds will get CCed on future versions, if there are any.
For reference, the ugly script I used is here:
import os
import re
for filename in os.listdir("."):
found_subsys = False
found_driver = False
output = []
for line in open(filename, "r").readlines():
if "struct platform_driver" in line or \
"struct i2c_driver" in line or \
"struct spmi_driver" in line or \
"struct spi_driver" in line:
found_subsys = True
if found_subsys and re.search(r"\t\.driver\s*=\s*{", line):
found_driver = True
found_subsys = False
mo = re.search(r"(\s*)\.name(\s*)=", line)
if found_driver and mo:
if not line.endswith(",\n"):
line = line[:-1] + ",\n"
output.append(line)
if mo.group(2) == " ":
space = " "
elif mo.group(2) == "\t":
# Best we can do
space = " "
elif mo.group(2).startswith("\t"):
# Guess that removing one tab is right
space = mo.group(2)[1:]
else:
# Guess it's all spaces
space = mo.group(2)[7:] + " "
output.append("%s.probe_type%s= PROBE_PREFER_ASYNCHRONOUS,\n" % (mo.group(1), space))
found_driver = False
else:
output.append(line)
open(filename, "w").write("".join(output))I manually split drivers up into groups based on the kernel they were introduced in.
I've run a compile test against "allyesconfig" on amd64, arm32, and arm64 with this and confirmed it compiled. I've booted this on a sc7180-trogdor-lazor board and confirmed it booted OK and got the boot speed improvements I expected and that dmesg was as expected.
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]/
Douglas Anderson (7):
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in
4.14
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.14 and
4.19
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.19 and
5.4
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.4 and
5.10
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.10 and
5.15
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.15 and
6.1
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer
than 6.1drivers/regulator/88pg86x.c | 1 + drivers/regulator/88pm800-regulator.c | 1 + drivers/regulator/88pm8607.c | 1 + drivers/regulator/aat2870-regulator.c | 1 + drivers/regulator/ab8500-ext.c | 1 + drivers/regulator/ab8500.c | 1 + drivers/regulator/act8865-regulator.c | 1 + drivers/regulator/act8945a-regulator.c | 1 + drivers/regulator/ad5398.c | 1 + drivers/regulator/anatop-regulator.c | 1 + drivers/regulator/arizona-ldo1.c | 2 ++ drivers/regulator/arizona-micsupp.c | 2 ++ drivers/regulator/as3711-regulator.c | 1 + drivers/regulator/as3722-regulator.c | 1 + drivers/regulator/atc260x-regulator.c | 1 + drivers/regulator/axp20x-regulator.c | 1 + drivers/regulator/bcm590xx-regulator.c | 1 + drivers/regulator/bd71815-regulator.c | 1 + drivers/regulator/bd71828-regulator.c | 3 ++- drivers/regulator/bd718x7-regulator.c | 1 + drivers/regulator/bd9571mwv-regulator.c | 1 + drivers/regulator/bd9576-regulator.c | 1 + drivers/regulator/cpcap-regulator.c | 1 + drivers/regulator/cros-ec-regulator.c | 1 + drivers/regulator/da903x-regulator.c | 1 + drivers/regulator/da9052-regulator.c | 1 + drivers/regulator/da9055-regulator.c | 1 + drivers/regulator/da9062-regulator.c | 1 + drivers/regulator/da9063-regulator.c | 1 + drivers/regulator/da9121-regulator.c | 1 + drivers/regulator/da9210-regulator.c | 1 + drivers/regulator/da9211-regulator.c | 1 + drivers/regulator/db8500-prcmu.c | 1 + drivers/regulator/dummy.c | 1 + drivers/regulator/fan53555.c | 1 + drivers/regulator/fan53880.c | 1 + drivers/regulator/fixed.c | 1 + drivers/regulator/gpio-regulator.c | 1 + drivers/regulator/hi6421-regulator.c | 1 + drivers/regulator/hi6421v530-regulator.c | 1 + drivers/regulator/hi6421v600-regulator.c | 1 + drivers/regulator/hi655x-regulator.c | 1 + drivers/regulator/isl6271a-regulator.c | 1 + drivers/regulator/isl9305.c | 1 + drivers/regulator/lm363x-regulator.c | 1 + drivers/regulator/lochnagar-regulator.c | 1 + drivers/regulator/lp3971.c | 1 + drivers/regulator/lp3972.c | 1 + drivers/regulator/lp872x.c | 1 + drivers/regulator/lp873x-regulator.c | 1 + drivers/regulator/lp8755.c | 1 + drivers/regulator/lp87565-regulator.c | 1 + drivers/regulator/lp8788-buck.c | 1 + drivers/regulator/lp8788-ldo.c | 2 ++ drivers/regulator/ltc3589.c | 1 + drivers/regulator/ltc3676.c | 1 + drivers/regulator/max14577-regulator.c | 1 + drivers/regulator/max1586.c | 1 + drivers/regulator/max20086-regulator.c | 1 + drivers/regulator/max20411-regulator.c | 1 + drivers/regulator/max597x-regulator.c | 1 + drivers/regulator/max77620-regulator.c | 1 + drivers/regulator/max77650-regulator.c | 1 + drivers/regulator/max77686-regulator.c | 1 + drivers/regulator/max77693-regulator.c | 1 + drivers/regulator/max77802-regulator.c | 1 + drivers/regulator/max77826-regulator.c | 1 + drivers/regulator/max8649.c | 1 + drivers/regulator/max8660.c | 1 + drivers/regulator/max8893.c | 1 + drivers/regulator/max8907-regulator.c | 1 + drivers/regulator/max8925-regulator.c | 1 + drivers/regulator/max8952.c | 1 + drivers/regulator/max8973-regulator.c | 1 + drivers/regulator/max8997-regulator.c | 1 + drivers/regulator/max8998.c | 1 + drivers/regulator/mc13783-regulator.c | 1 + drivers/regulator/mc13892-regulator.c | 1 + drivers/regulator/mcp16502.c | 1 + drivers/regulator/mp5416.c | 1 + drivers/regulator/mp8859.c | 1 + drivers/regulator/mp886x.c | 1 + drivers/regulator/mpq7920.c | 1 + drivers/regulator/mt6311-regulator.c | 1 + drivers/regulator/mt6315-regulator.c | 1 + drivers/regulator/mt6323-regulator.c | 1 + drivers/regulator/mt6331-regulator.c | 1 + drivers/regulator/mt6332-regulator.c | 1 + drivers/regulator/mt6357-regulator.c | 1 + drivers/regulator/mt6358-regulator.c | 1 + drivers/regulator/mt6359-regulator.c | 1 + drivers/regulator/mt6360-regulator.c | 1 + drivers/regulator/mt6370-regulator.c | 1 + drivers/regulator/mt6380-regulator.c | 1 + drivers/regulator/mt6397-regulator.c | 1 + drivers/regulator/mtk-dvfsrc-regulator.c | 1 + drivers/regulator/palmas-regulator.c | 1 + drivers/regulator/pbias-regulator.c | 1 + drivers/regulator/pca9450-regulator.c | 1 + drivers/regulator/pcap-regulator.c | 1 + drivers/regulator/pcf50633-regulator.c | 1 + drivers/regulator/pf8x00-regulator.c | 1 + drivers/regulator/pfuze100-regulator.c | 1 + drivers/regulator/pv88060-regulator.c | 1 + drivers/regulator/pv88080-regulator.c | 1 + drivers/regulator/pv88090-regulator.c | 1 + drivers/regulator/pwm-regulator.c | 1 + drivers/regulator/qcom-labibb-regulator.c | 1 + drivers/regulator/qcom-rpmh-regulator.c | 1 + drivers/regulator/qcom_rpm-regulator.c | 1 + drivers/regulator/qcom_smd-regulator.c | 1 + drivers/regulator/qcom_spmi-regulator.c | 1 + drivers/regulator/qcom_usb_vbus-regulator.c | 1 + drivers/regulator/rc5t583-regulator.c | 1 + drivers/regulator/rk808-regulator.c | 3 ++- drivers/regulator/rn5t618-regulator.c | 1 + drivers/regulator/rpi-panel-attiny-regulator.c | 1 + drivers/regulator/rt4801-regulator.c | 1 + drivers/regulator/rt4831-regulator.c | 1 + drivers/regulator/rt5033-regulator.c | 1 + drivers/regulator/rt5120-regulator.c | 1 + drivers/regulator/rt5190a-regulator.c | 1 + drivers/regulator/rt5739.c | 1 + drivers/regulator/rt5759-regulator.c | 1 + drivers/regulator/rt6160-regulator.c | 1 + drivers/regulator/rt6190-regulator.c | 1 + drivers/regulator/rt6245-regulator.c | 1 + drivers/regulator/rtmv20-regulator.c | 1 + drivers/regulator/rtq2134-regulator.c | 1 + drivers/regulator/rtq6752-regulator.c | 1 + drivers/regulator/s2mpa01.c | 1 + drivers/regulator/s2mps11.c | 1 + drivers/regulator/s5m8767.c | 1 + drivers/regulator/sc2731-regulator.c | 1 + drivers/regulator/sky81452-regulator.c | 1 + drivers/regulator/slg51000-regulator.c | 1 + drivers/regulator/sm5703-regulator.c | 1 + drivers/regulator/stm32-booster.c | 1 + drivers/regulator/stm32-pwr.c | 1 + drivers/regulator/stm32-vrefbuf.c | 1 + drivers/regulator/stpmic1_regulator.c | 1 + drivers/regulator/stw481x-vmmc.c | 1 + drivers/regulator/sy7636a-regulator.c | 1 + drivers/regulator/sy8106a-regulator.c | 1 + drivers/regulator/sy8824x.c | 1 + drivers/regulator/sy8827n.c | 1 + drivers/regulator/ti-abb-regulator.c | 1 + drivers/regulator/tps51632-regulator.c | 1 + drivers/regulator/tps6105x-regulator.c | 1 + drivers/regulator/tps62360-regulator.c | 1 + drivers/regulator/tps6286x-regulator.c | 1 + drivers/regulator/tps65023-regulator.c | 1 + drivers/regulator/tps6507x-regulator.c | 1 + drivers/regulator/tps65086-regulator.c | 1 + drivers/regulator/tps65090-regulator.c | 1 + drivers/regulator/tps65132-regulator.c | 1 + drivers/regulator/tps65217-regulator.c | 1 + drivers/regulator/tps65218-regulator.c | 1 + drivers/regulator/tps65219-regulator.c | 1 + drivers/regulator/tps6524x-regulator.c | 1 + drivers/regulator/tps6586x-regulator.c | 1 + drivers/regulator/tps65910-regulator.c | 1 + drivers/regulator/tps65912-regulator.c | 1 + drivers/regulator/tps68470-regulator.c | 1 + drivers/regulator/twl-regulator.c | 1 + drivers/regulator/twl6030-regulator.c | 1 + drivers/regulator/uniphier-regulator.c | 1 + drivers/regulator/userspace-consumer.c | 1 + drivers/regulator/vctrl-regulator.c | 1 + drivers/regulator/vexpress-regulator.c | 1 + drivers/regulator/virtual.c | 1 + drivers/regulator/vqmmc-ipq4019-regulator.c | 1 + drivers/regulator/wm831x-dcdc.c | 4 ++++ drivers/regulator/wm831x-isink.c | 1 + drivers/regulator/wm831x-ldo.c | 3 +++ drivers/regulator/wm8350-regulator.c | 1 + drivers/regulator/wm8400-regulator.c | 1 + drivers/regulator/wm8994-regulator.c | 1 + 178 files changed, 188 insertions(+), 2 deletions(-)
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
PATCH 1/7 regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14
Probing of regulators can be a slow operation and can contribute to slower boot times. This is especially true if a regulator is turned on at probe time (with regulator-boot-on or regulator-always-on) and the regulator requires delays (off-on-time, ramp time, etc).
While the overall kernel is not ready to switch to async probe by default, as per the discussion on the mailing lists [1] it is believed that the regulator subsystem is in good shape and we can move regulator drivers over wholesale. There is no way to just magically opt in all regulators (regulators are just normal drivers like platform_driver), so we set PROBE_PREFER_ASYNCHRONOUS for all regulators found in 'drivers/regulator' individually.
Given the number of drivers touched and the impossibility to test this ahead of time, it wouldn't be shocking at all if this caused a regression for someone. If there is a regression caused by this patch, it's likely to be one of the cases talked about in [1]. As a "quick fix", drivers involved in the regression could be fixed by changing them to PROBE_FORCE_SYNCHRONOUS. That being said, the correct fix would be to directly fix the problem that caused the issue with async probe.
The approach here follows a similar approach that was used for the mmc subsystem several years ago [2]. In fact, I ran nearly the same python script to auto-generate the changes. The only thing I changed was to search for "i2c_driver", "spmi_driver", and "spi_driver" in addition to "platform_driver".
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]/
---
drivers/regulator/88pm800-regulator.c | 1 + drivers/regulator/88pm8607.c | 1 + drivers/regulator/aat2870-regulator.c | 1 + drivers/regulator/ab8500-ext.c | 1 + drivers/regulator/ab8500.c | 1 + drivers/regulator/act8865-regulator.c | 1 + drivers/regulator/act8945a-regulator.c | 1 + drivers/regulator/ad5398.c | 1 + drivers/regulator/anatop-regulator.c | 1 + drivers/regulator/arizona-ldo1.c | 1 + drivers/regulator/arizona-micsupp.c | 1 + drivers/regulator/as3711-regulator.c | 1 + drivers/regulator/as3722-regulator.c | 1 + drivers/regulator/axp20x-regulator.c | 1 + drivers/regulator/bcm590xx-regulator.c | 1 + drivers/regulator/bd9571mwv-regulator.c | 1 + drivers/regulator/cpcap-regulator.c | 1 + drivers/regulator/da903x-regulator.c | 1 + drivers/regulator/da9052-regulator.c | 1 + drivers/regulator/da9055-regulator.c | 1 + drivers/regulator/da9062-regulator.c | 1 + drivers/regulator/da9063-regulator.c | 1 + drivers/regulator/da9210-regulator.c | 1 + drivers/regulator/da9211-regulator.c | 1 + drivers/regulator/db8500-prcmu.c | 1 + drivers/regulator/dummy.c | 1 + drivers/regulator/fan53555.c | 1 + drivers/regulator/fixed.c | 1 + drivers/regulator/gpio-regulator.c | 1 + drivers/regulator/hi6421-regulator.c | 1 + drivers/regulator/hi6421v530-regulator.c | 1 + drivers/regulator/hi655x-regulator.c | 1 + drivers/regulator/isl6271a-regulator.c | 1 + drivers/regulator/isl9305.c | 1 + drivers/regulator/lm363x-regulator.c | 1 + drivers/regulator/lp3971.c | 1 + drivers/regulator/lp3972.c | 1 + drivers/regulator/lp872x.c | 1 + drivers/regulator/lp873x-regulator.c | 1 + drivers/regulator/lp8755.c | 1 + drivers/regulator/lp87565-regulator.c | 1 + drivers/regulator/lp8788-buck.c | 1 + drivers/regulator/lp8788-ldo.c | 2 ++ drivers/regulator/ltc3589.c | 1 + drivers/regulator/ltc3676.c | 1 + drivers/regulator/max14577-regulator.c | 1 + drivers/regulator/max1586.c | 1 + drivers/regulator/max77620-regulator.c | 1 + drivers/regulator/max77686-regulator.c | 1 + drivers/regulator/max77693-regulator.c | 1 + drivers/regulator/max77802-regulator.c | 1 + drivers/regulator/max8649.c | 1 + drivers/regulator/max8660.c | 1 + drivers/regulator/max8907-regulator.c | 1 + drivers/regulator/max8925-regulator.c | 1 + drivers/regulator/max8952.c | 1 + drivers/regulator/max8973-regulator.c | 1 + drivers/regulator/max8997-regulator.c | 1 + drivers/regulator/max8998.c | 1 + drivers/regulator/mc13783-regulator.c | 1 + drivers/regulator/mc13892-regulator.c | 1 + drivers/regulator/mt6311-regulator.c | 1 + drivers/regulator/mt6323-regulator.c | 1 + drivers/regulator/mt6380-regulator.c | 1 + drivers/regulator/mt6397-regulator.c | 1 + drivers/regulator/palmas-regulator.c | 1 + drivers/regulator/pbias-regulator.c | 1 + drivers/regulator/pcap-regulator.c | 1 + drivers/regulator/pcf50633-regulator.c | 1 + drivers/regulator/pfuze100-regulator.c | 1 + drivers/regulator/pv88060-regulator.c | 1 + drivers/regulator/pv88080-regulator.c | 1 + drivers/regulator/pv88090-regulator.c | 1 + drivers/regulator/pwm-regulator.c | 1 + drivers/regulator/qcom_rpm-regulator.c | 1 + drivers/regulator/qcom_smd-regulator.c | 1 + drivers/regulator/qcom_spmi-regulator.c | 1 + drivers/regulator/rc5t583-regulator.c | 1 + drivers/regulator/rk808-regulator.c | 3 ++- drivers/regulator/rn5t618-regulator.c | 1 + drivers/regulator/rt5033-regulator.c | 1 + drivers/regulator/s2mpa01.c | 1 + drivers/regulator/s2mps11.c | 1 + drivers/regulator/s5m8767.c | 1 + drivers/regulator/sky81452-regulator.c | 1 + drivers/regulator/stm32-vrefbuf.c | 1 + drivers/regulator/stw481x-vmmc.c | 1 + drivers/regulator/ti-abb-regulator.c | 1 + drivers/regulator/tps51632-regulator.c | 1 + drivers/regulator/tps6105x-regulator.c | 1 + drivers/regulator/tps62360-regulator.c | 1 + drivers/regulator/tps65023-regulator.c | 1 + drivers/regulator/tps6507x-regulator.c | 1 + drivers/regulator/tps65086-regulator.c | 1 + drivers/regulator/tps65090-regulator.c | 1 + drivers/regulator/tps65132-regulator.c | 1 + drivers/regulator/tps65217-regulator.c | 1 + drivers/regulator/tps65218-regulator.c | 1 + drivers/regulator/tps6524x-regulator.c | 1 + drivers/regulator/tps6586x-regulator.c | 1 + drivers/regulator/tps65910-regulator.c | 1 + drivers/regulator/tps65912-regulator.c | 1 + drivers/regulator/twl-regulator.c | 1 + drivers/regulator/twl6030-regulator.c | 1 + drivers/regulator/userspace-consumer.c | 1 + drivers/regulator/vctrl-regulator.c | 1 + drivers/regulator/vexpress-regulator.c | 1 + drivers/regulator/virtual.c | 1 + drivers/regulator/wm831x-dcdc.c | 4 ++++ drivers/regulator/wm831x-isink.c | 1 + drivers/regulator/wm831x-ldo.c | 3 +++ drivers/regulator/wm8350-regulator.c | 1 + drivers/regulator/wm8400-regulator.c | 1 + drivers/regulator/wm8994-regulator.c | 1 + 114 files changed, 121 insertions(+), 1 deletion(-)
drivers/regulator/88pm800-regulator.c +1 -0
@@ -274,6 +274,7 @@ static int pm800_regulator_probe(struct platform_device *pdev)static struct platform_driver pm800_regulator_driver = { .driver = { .name ="88pm80x-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = pm800_regulator_probe, };
drivers/regulator/88pm8607.c +1 -0
@@ -383,6 +383,7 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids);static struct platform_driver pm8607_regulator_driver = { .driver = { .name ="88pm860x-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = pm8607_regulator_probe, .id_table = pm8607_regulator_driver_ids,
drivers/regulator/aat2870-regulator.c +1 -0
@@ -178,6 +178,7 @@ static int aat2870_regulator_probe(struct platform_device *pdev)static struct platform_driver aat2870_regulator_driver = { .driver = { .name ="aat2870-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = aat2870_regulator_probe, };
drivers/regulator/ab8500-ext.c +1 -0
@@ -446,6 +446,7 @@ static struct platform_driver ab8500_ext_regulator_driver = { .probe = ab8500_ext_regulator_probe, .driver = { .name = "ab8500-ext-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/ab8500.c +1 -0
@@ -1737,6 +1737,7 @@ static struct platform_driver ab8500_regulator_driver = { .probe = ab8500_regulator_probe, .driver = { .name = "ab8500-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/act8865-regulator.c +1 -0
@@ -789,6 +789,7 @@ MODULE_DEVICE_TABLE(i2c, act8865_ids);static struct i2c_driver act8865_pmic_driver = { .driver = { .name ="act8865" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe_new = act8865_pmic_probe, .id_table = act8865_ids,
drivers/regulator/act8945a-regulator.c +1 -0
@@ -348,6 +348,7 @@ static void act8945a_pmic_shutdown(struct platform_device *pdev)static struct platform_driver act8945a_pmic_driver = { .driver = { .name ="act8945a-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .pm = &act8945a_pm, }, .probe = act8945a_pmic_probe,
drivers/regulator/ad5398.c +1 -0
@@ -257,6 +257,7 @@ static struct i2c_driver ad5398_driver = { .probe_new = ad5398_probe, .driver = { .name = "ad5398", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .id_table = ad5398_id, };
drivers/regulator/anatop-regulator.c +1 -0
@@ -328,6 +328,7 @@ MODULE_DEVICE_TABLE(of, of_anatop_regulator_match_tbl);static struct platform_driver anatop_regulator_driver = { .driver = { .name ="anatop_regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = of_anatop_regulator_match_tbl, }, .probe = anatop_regulator_probe,
drivers/regulator/arizona-ldo1.c +1 -0
@@ -380,6 +380,7 @@ static struct platform_driver arizona_ldo1_driver = { .remove = arizona_ldo1_remove, .driver = { .name = "arizona-ldo1", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/arizona-micsupp.c +1 -0
@@ -365,6 +365,7 @@ static struct platform_driver arizona_micsupp_driver = { .probe = arizona_micsupp_probe, .driver = { .name = "arizona-micsupp", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/as3711-regulator.c +1 -0
@@ -243,6 +243,7 @@ static int as3711_regulator_probe(struct platform_device *pdev)static struct platform_driver as3711_regulator_driver = { .driver = { .name ="as3711-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = as3711_regulator_probe, };
drivers/regulator/as3722-regulator.c +1 -0
@@ -831,6 +831,7 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match);static struct platform_driver as3722_regulator_driver = { .driver = { .name ="as3722-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = of_as3722_regulator_match, }, .probe = as3722_regulator_probe,
drivers/regulator/axp20x-regulator.c +1 -0
@@ -1364,6 +1364,7 @@ static struct platform_driver axp20x_regulator_driver = { .probe = axp20x_regulator_probe, .driver = { .name = "axp20x-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/bcm590xx-regulator.c +1 -0
@@ -354,6 +354,7 @@ static int bcm590xx_probe(struct platform_device *pdev)static struct platform_driver bcm590xx_regulator_driver = { .driver = { .name ="bcm590xx-vregs" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = bcm590xx_probe, };
drivers/regulator/bd9571mwv-regulator.c +1 -0
@@ -353,6 +353,7 @@ MODULE_DEVICE_TABLE(platform, bd9571mwv_regulator_id_table);static struct platform_driver bd9571mwv_regulator_driver = { .driver = { .name ="bd9571mwv-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .pm =DEV_PM_OPS , }, .probe = bd9571mwv_regulator_probe,
drivers/regulator/cpcap-regulator.c +1 -0
@@ -553,6 +553,7 @@ static struct platform_driver cpcap_regulator_driver = { .probe = cpcap_regulator_probe, .driver = { .name = "cpcap-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(cpcap_regulator_id_table), }, };
drivers/regulator/da903x-regulator.c +1 -0
@@ -471,6 +471,7 @@ static int da903x_regulator_probe(struct platform_device *pdev)static struct platform_driver da903x_regulator_driver = { .driver = { .name ="da903x-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = da903x_regulator_probe, };
drivers/regulator/da9052-regulator.c +1 -0
@@ -438,6 +438,7 @@ static struct platform_driver da9052_regulator_driver = { .probe = da9052_regulator_probe, .driver = { .name = "da9052-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/da9055-regulator.c +1 -0
@@ -576,6 +576,7 @@ static struct platform_driver da9055_regulator_driver = { .probe = da9055_regulator_probe, .driver = { .name = "da9055-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/da9062-regulator.c +1 -0
@@ -1033,6 +1033,7 @@ static int da9062_regulator_probe(struct platform_device *pdev)static struct platform_driver da9062_regulator_driver = { .driver = { .name ="da9062-regulators" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = da9062_regulator_probe, };
drivers/regulator/da9063-regulator.c +1 -0
@@ -971,6 +971,7 @@ static int da9063_regulator_probe(struct platform_device *pdev)static struct platform_driver da9063_regulator_driver = { .driver = { .name =DA9063_DRVNAME_REGULATORS , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = da9063_regulator_probe, };
drivers/regulator/da9210-regulator.c +1 -0
@@ -221,6 +221,7 @@ MODULE_DEVICE_TABLE(i2c, da9210_i2c_id);static struct i2c_driver da9210_regulator_driver = { .driver = { .name ="da9210" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (da9210_dt_ids), }, .probe_new = da9210_i2c_probe,
drivers/regulator/da9211-regulator.c +1 -0
@@ -552,6 +552,7 @@ MODULE_DEVICE_TABLE(of, da9211_dt_ids);static struct i2c_driver da9211_regulator_driver = { .driver = { .name ="da9211" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (da9211_dt_ids), }, .probe_new = da9211_i2c_probe,
drivers/regulator/db8500-prcmu.c +1 -0
@@ -479,6 +479,7 @@ static int db8500_regulator_remove(struct platform_device *pdev)static struct platform_driver db8500_regulator_driver = { .driver = { .name ="db8500-prcmu-regulators" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = db8500_regulator_probe, .remove = db8500_regulator_remove,
drivers/regulator/dummy.c +1 -0
@@ -60,6 +60,7 @@ static struct platform_driver dummy_regulator_driver = { .probe = dummy_regulator_probe, .driver = { .name = "reg-dummy", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/fan53555.c +1 -0
@@ -663,6 +663,7 @@ MODULE_DEVICE_TABLE(i2c, fan53555_id);static struct i2c_driver fan53555_regulator_driver = { .driver = { .name ="fan53555-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (fan53555_dt_ids), }, .probe_new = fan53555_regulator_probe,
drivers/regulator/fixed.c +1 -0
@@ -334,6 +334,7 @@ static struct platform_driver regulator_fixed_voltage_driver = { .probe = reg_fixed_voltage_probe, .driver = { .name = "reg-fixed-voltage", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(fixed_of_match), }, };
drivers/regulator/gpio-regulator.c +1 -0
@@ -368,6 +368,7 @@ static struct platform_driver gpio_regulator_driver = { .probe = gpio_regulator_probe, .driver = { .name = "gpio-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(regulator_gpio_of_match), }, };
drivers/regulator/hi6421-regulator.c +1 -0
@@ -579,6 +579,7 @@ static struct platform_driver hi6421_regulator_driver = { .id_table = hi6421_regulator_table, .driver = { .name = "hi6421-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = hi6421_regulator_probe, };
drivers/regulator/hi6421v530-regulator.c +1 -0
@@ -200,6 +200,7 @@ static struct platform_driver hi6421v530_regulator_driver = { .id_table = hi6421v530_regulator_table, .driver = { .name = "hi6421v530-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = hi6421v530_regulator_probe, };
drivers/regulator/hi655x-regulator.c +1 -0
@@ -206,6 +206,7 @@ static struct platform_driver hi655x_regulator_driver = { .id_table = hi655x_regulator_table, .driver = { .name = "hi655x-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = hi655x_regulator_probe, };
drivers/regulator/isl6271a-regulator.c +1 -0
@@ -147,6 +147,7 @@ MODULE_DEVICE_TABLE(i2c, isl6271a_id);static struct i2c_driver isl6271a_i2c_driver = { .driver = { .name ="isl6271a" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe_new = isl6271a_probe, .id_table = isl6271a_id,
drivers/regulator/isl9305.c +1 -0
@@ -195,6 +195,7 @@ MODULE_DEVICE_TABLE(i2c, isl9305_i2c_id);static struct i2c_driver isl9305_regulator_driver = { .driver = { .name ="isl9305" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (isl9305_dt_ids), }, .probe_new = isl9305_i2c_probe,
drivers/regulator/lm363x-regulator.c +1 -0
@@ -355,6 +355,7 @@ static struct platform_driver lm363x_regulator_driver = { .probe = lm363x_regulator_probe, .driver = { .name = "lm363x-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/lp3971.c +1 -0
@@ -447,6 +447,7 @@ MODULE_DEVICE_TABLE(i2c, lp3971_i2c_id);static struct i2c_driver lp3971_i2c_driver = { .driver = { .name ="LP3971" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe_new = lp3971_i2c_probe, .id_table = lp3971_i2c_id,
drivers/regulator/lp3972.c +1 -0
@@ -545,6 +545,7 @@ MODULE_DEVICE_TABLE(i2c, lp3972_i2c_id);static struct i2c_driver lp3972_i2c_driver = { .driver = { .name ="lp3972" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe_new = lp3972_i2c_probe, .id_table = lp3972_i2c_id,
drivers/regulator/lp872x.c +1 -0
@@ -944,6 +944,7 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids);static struct i2c_driver lp872x_driver = { .driver = { .name ="lp872x" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (lp872x_dt_ids), }, .probe_new = lp872x_probe,
drivers/regulator/lp873x-regulator.c +1 -0
@@ -187,6 +187,7 @@ MODULE_DEVICE_TABLE(platform, lp873x_regulator_id_table);static struct platform_driver lp873x_regulator_driver = { .driver = { .name ="lp873x-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = lp873x_regulator_probe, .id_table = lp873x_regulator_id_table,
drivers/regulator/lp8755.c +1 -0
@@ -440,6 +440,7 @@ MODULE_DEVICE_TABLE(i2c, lp8755_id);static struct i2c_driver lp8755_i2c_driver = { .driver = { .name =LP8755_NAME , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe_new = lp8755_probe, .remove = lp8755_remove,
drivers/regulator/lp87565-regulator.c +1 -0
@@ -237,6 +237,7 @@ MODULE_DEVICE_TABLE(platform, lp87565_regulator_id_table);static struct platform_driver lp87565_regulator_driver = { .driver = { .name ="lp87565-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = lp87565_regulator_probe, .id_table = lp87565_regulator_id_table,
drivers/regulator/lp8788-buck.c +1 -0
@@ -531,6 +531,7 @@ static struct platform_driver lp8788_buck_driver = { .probe = lp8788_buck_probe, .driver = { .name = LP8788_DEV_BUCK, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/lp8788-ldo.c +2 -0
@@ -564,6 +564,7 @@ static struct platform_driver lp8788_dldo_driver = { .probe = lp8788_dldo_probe, .driver = { .name = LP8788_DEV_DLDO, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
@@ -611,6 +612,7 @@ static struct platform_driver lp8788_aldo_driver = { .probe = lp8788_aldo_probe, .driver = { .name = LP8788_DEV_ALDO, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/ltc3589.c +1 -0
@@ -474,6 +474,7 @@ MODULE_DEVICE_TABLE(of, ltc3589_of_match);static struct i2c_driver ltc3589_driver = { .driver = { .name =DRIVER_NAME , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (ltc3589_of_match), }, .probe_new = ltc3589_probe,
drivers/regulator/ltc3676.c +1 -0
@@ -371,6 +371,7 @@ MODULE_DEVICE_TABLE(of, ltc3676_of_match);static struct i2c_driver ltc3676_driver = { .driver = { .name =DRIVER_NAME , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (ltc3676_of_match), }, .probe_new = ltc3676_regulator_probe,
drivers/regulator/max14577-regulator.c +1 -0
@@ -241,6 +241,7 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id);static struct platform_driver max14577_regulator_driver = { .driver = { .name ="max14577-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max14577_regulator_probe, .id_table = max14577_regulator_id,
drivers/regulator/max1586.c +1 -0
@@ -292,6 +292,7 @@ static struct i2c_driver max1586_pmic_driver = { .probe_new = max1586_pmic_probe, .driver = { .name = "max1586", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(max1586_of_match), }, .id_table = max1586_id,
drivers/regulator/max77620-regulator.c +1 -0
@@ -916,6 +916,7 @@ static struct platform_driver max77620_regulator_driver = { .id_table = max77620_regulator_devtype, .driver = { .name = "max77620-pmic", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .pm = &max77620_regulator_pm_ops, }, };
drivers/regulator/max77686-regulator.c +1 -0
@@ -525,6 +525,7 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id);static struct platform_driver max77686_pmic_driver = { .driver = { .name ="max77686-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max77686_pmic_probe, .id_table = max77686_pmic_id,
drivers/regulator/max77693-regulator.c +1 -0
@@ -281,6 +281,7 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id);static struct platform_driver max77693_pmic_driver = { .driver = { .name ="max77693-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max77693_pmic_probe, .id_table = max77693_pmic_id,
drivers/regulator/max77802-regulator.c +1 -0
@@ -554,6 +554,7 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id);static struct platform_driver max77802_pmic_driver = { .driver = { .name ="max77802-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max77802_pmic_probe, .id_table = max77802_pmic_id,
drivers/regulator/max8649.c +1 -0
@@ -249,6 +249,7 @@ static struct i2c_driver max8649_driver = { .probe_new = max8649_regulator_probe, .driver = { .name = "max8649", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .id_table = max8649_id, };
drivers/regulator/max8660.c +1 -0
@@ -506,6 +506,7 @@ static struct i2c_driver max8660_driver = { .probe_new = max8660_probe, .driver = { .name = "max8660", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .id_table = max8660_id, };
drivers/regulator/max8907-regulator.c +1 -0
@@ -372,6 +372,7 @@ static int max8907_regulator_probe(struct platform_device *pdev)static struct platform_driver max8907_regulator_driver = { .driver = { .name ="max8907-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max8907_regulator_probe, };
drivers/regulator/max8925-regulator.c +1 -0
@@ -263,6 +263,7 @@ static int max8925_regulator_probe(struct platform_device *pdev)static struct platform_driver max8925_regulator_driver = { .driver = { .name ="max8925-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max8925_regulator_probe, };
drivers/regulator/max8952.c +1 -0
@@ -316,6 +316,7 @@ static struct i2c_driver max8952_pmic_driver = { .probe_new = max8952_pmic_probe, .driver = { .name = "max8952", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(max8952_dt_match), }, .id_table = max8952_ids,
drivers/regulator/max8973-regulator.c +1 -0
@@ -804,6 +804,7 @@ MODULE_DEVICE_TABLE(i2c, max8973_id);static struct i2c_driver max8973_i2c_driver = { .driver = { .name ="max8973" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = of_max8973_match_tbl, }, .probe_new = max8973_probe,
drivers/regulator/max8997-regulator.c +1 -0
@@ -1197,6 +1197,7 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id);static struct platform_driver max8997_pmic_driver = { .driver = { .name ="max8997-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max8997_pmic_probe, .id_table = max8997_pmic_id,
drivers/regulator/max8998.c +1 -0
@@ -803,6 +803,7 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id);static struct platform_driver max8998_pmic_driver = { .driver = { .name ="max8998-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max8998_pmic_probe, .id_table = max8998_pmic_id,
drivers/regulator/mc13783-regulator.c +1 -0
@@ -455,6 +455,7 @@ static int mc13783_regulator_probe(struct platform_device *pdev)static struct platform_driver mc13783_regulator_driver = { .driver = { .name ="mc13783-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mc13783_regulator_probe, };
drivers/regulator/mc13892-regulator.c +1 -0
@@ -629,6 +629,7 @@ static int mc13892_regulator_probe(struct platform_device *pdev)static struct platform_driver mc13892_regulator_driver = { .driver = { .name ="mc13892-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mc13892_regulator_probe, };
drivers/regulator/mt6311-regulator.c +1 -0
@@ -151,6 +151,7 @@ MODULE_DEVICE_TABLE(of, mt6311_dt_ids);static struct i2c_driver mt6311_regulator_driver = { .driver = { .name ="mt6311" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (mt6311_dt_ids), }, .probe_new = mt6311_i2c_probe,
drivers/regulator/mt6323-regulator.c +1 -0
@@ -409,6 +409,7 @@ MODULE_DEVICE_TABLE(platform, mt6323_platform_ids);static struct platform_driver mt6323_regulator_driver = { .driver = { .name ="mt6323-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mt6323_regulator_probe, .id_table = mt6323_platform_ids,
drivers/regulator/mt6380-regulator.c +1 -0
@@ -328,6 +328,7 @@ MODULE_DEVICE_TABLE(of, mt6380_of_match);static struct platform_driver mt6380_regulator_driver = { .driver = { .name ="mt6380-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (mt6380_of_match), }, .probe = mt6380_regulator_probe,
drivers/regulator/mt6397-regulator.c +1 -0
@@ -406,6 +406,7 @@ MODULE_DEVICE_TABLE(of, mt6397_of_match);static struct platform_driver mt6397_regulator_driver = { .driver = { .name ="mt6397-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (mt6397_of_match), }, .probe = mt6397_regulator_probe,
drivers/regulator/palmas-regulator.c +1 -0
@@ -1666,6 +1666,7 @@ static int palmas_regulators_probe(struct platform_device *pdev)static struct platform_driver palmas_driver = { .driver = { .name ="palmas-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = of_palmas_match_tbl, }, .probe = palmas_regulators_probe,
drivers/regulator/pbias-regulator.c +1 -0
@@ -231,6 +231,7 @@ static struct platform_driver pbias_regulator_driver = { .probe = pbias_regulator_probe, .driver = { .name = "pbias-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(pbias_of_match), }, };
drivers/regulator/pcap-regulator.c +1 -0
@@ -251,6 +251,7 @@ static int pcap_regulator_probe(struct platform_device *pdev)static struct platform_driver pcap_regulator_driver = { .driver = { .name ="pcap-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = pcap_regulator_probe, };
drivers/regulator/pcf50633-regulator.c +1 -0
@@ -101,6 +101,7 @@ static int pcf50633_regulator_probe(struct platform_device *pdev)static struct platform_driver pcf50633_regulator_driver = { .driver = { .name ="pcf50633-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = pcf50633_regulator_probe, };
drivers/regulator/pfuze100-regulator.c +1 -0
@@ -845,6 +845,7 @@ static int pfuze100_regulator_probe(struct i2c_client *client)static struct i2c_driver pfuze_driver = { .driver = { .name ="pfuze100-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = pfuze_dt_ids, }, .probe_new = pfuze100_regulator_probe,
drivers/regulator/pv88060-regulator.c +1 -0
@@ -376,6 +376,7 @@ MODULE_DEVICE_TABLE(of, pv88060_dt_ids);static struct i2c_driver pv88060_regulator_driver = { .driver = { .name ="pv88060" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (pv88060_dt_ids), }, .probe_new = pv88060_i2c_probe,
drivers/regulator/pv88080-regulator.c +1 -0
@@ -557,6 +557,7 @@ MODULE_DEVICE_TABLE(i2c, pv88080_i2c_id);static struct i2c_driver pv88080_regulator_driver = { .driver = { .name ="pv88080" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (pv88080_dt_ids), }, .probe_new = pv88080_i2c_probe,
drivers/regulator/pv88090-regulator.c +1 -0
@@ -397,6 +397,7 @@ MODULE_DEVICE_TABLE(of, pv88090_dt_ids);static struct i2c_driver pv88090_regulator_driver = { .driver = { .name ="pv88090" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (pv88090_dt_ids), }, .probe_new = pv88090_i2c_probe,
drivers/regulator/pwm-regulator.c +1 -0
@@ -393,6 +393,7 @@ MODULE_DEVICE_TABLE(of, pwm_of_match);static struct platform_driver pwm_regulator_driver = { .driver = { .name ="pwm-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (pwm_of_match), }, .probe = pwm_regulator_probe,
drivers/regulator/qcom_rpm-regulator.c +1 -0
@@ -991,6 +991,7 @@ static struct platform_driver rpm_reg_driver = { .probe = rpm_reg_probe, .driver = { .name = "qcom_rpm_reg", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(rpm_of_match), }, };
drivers/regulator/qcom_smd-regulator.c +1 -0
@@ -1440,6 +1440,7 @@ static struct platform_driver rpm_reg_driver = { .probe = rpm_reg_probe, .driver = { .name = "qcom_rpm_smd_regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = rpm_of_match, }, };
drivers/regulator/qcom_spmi-regulator.c +1 -0
@@ -2484,6 +2484,7 @@ static int qcom_spmi_regulator_probe(struct platform_device *pdev)static struct platform_driver qcom_spmi_regulator_driver = { .driver = { .name ="qcom-spmi-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = qcom_spmi_regulator_match, }, .probe = qcom_spmi_regulator_probe,
drivers/regulator/rc5t583-regulator.c +1 -0
@@ -149,6 +149,7 @@ static int rc5t583_regulator_probe(struct platform_device *pdev)static struct platform_driver rc5t583_regulator_driver = { .driver = { .name ="rc5t583-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = rc5t583_regulator_probe, };
drivers/regulator/rk808-regulator.c +2 -1
@@ -1354,7 +1354,8 @@ static int rk808_regulator_probe(struct platform_device *pdev)static struct platform_driver rk808_regulator_driver = { .probe = rk808_regulator_probe, .driver = { - .name ="rk808-regulator" + .name ="rk808-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, };
drivers/regulator/rn5t618-regulator.c +1 -0
@@ -143,6 +143,7 @@ static struct platform_driver rn5t618_regulator_driver = { .probe = rn5t618_regulator_probe, .driver = { .name = "rn5t618-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/rt5033-regulator.c +1 -0
@@ -124,6 +124,7 @@ MODULE_DEVICE_TABLE(platform, rt5033_regulator_id);static struct platform_driver rt5033_regulator_driver = { .driver = { .name ="rt5033-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = rt5033_regulator_probe, .id_table = rt5033_regulator_id,
drivers/regulator/s2mpa01.c +1 -0
@@ -376,6 +376,7 @@ MODULE_DEVICE_TABLE(platform, s2mpa01_pmic_id);static struct platform_driver s2mpa01_pmic_driver = { .driver = { .name ="s2mpa01-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = s2mpa01_pmic_probe, .id_table = s2mpa01_pmic_id,
drivers/regulator/s2mps11.c +1 -0
@@ -1238,6 +1238,7 @@ MODULE_DEVICE_TABLE(platform, s2mps11_pmic_id);static struct platform_driver s2mps11_pmic_driver = { .driver = { .name ="s2mps11-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = s2mps11_pmic_probe, .id_table = s2mps11_pmic_id,
drivers/regulator/s5m8767.c +1 -0
@@ -999,6 +999,7 @@ MODULE_DEVICE_TABLE(platform, s5m8767_pmic_id);static struct platform_driver s5m8767_pmic_driver = { .driver = { .name ="s5m8767-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = s5m8767_pmic_probe, .id_table = s5m8767_pmic_id,
drivers/regulator/sky81452-regulator.c +1 -0
@@ -79,6 +79,7 @@ static int sky81452_reg_probe(struct platform_device *pdev)static struct platform_driver sky81452_reg_driver = { .driver = { .name ="sky81452-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = sky81452_reg_probe, };
drivers/regulator/stm32-vrefbuf.c +1 -0
@@ -285,6 +285,7 @@ static struct platform_driver stm32_vrefbuf_driver = { .remove = stm32_vrefbuf_remove, .driver = { .name = "stm32-vrefbuf", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(stm32_vrefbuf_of_match), .pm = &stm32_vrefbuf_pm_ops, },
drivers/regulator/stw481x-vmmc.c +1 -0
@@ -95,6 +95,7 @@ static const struct of_device_id stw481x_vmmc_match[] = {static struct platform_driver stw481x_vmmc_regulator_driver = { .driver = { .name ="stw481x-vmmc-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = stw481x_vmmc_match, }, .probe = stw481x_vmmc_regulator_probe,
drivers/regulator/ti-abb-regulator.c +1 -0
@@ -865,6 +865,7 @@ static struct platform_driver ti_abb_driver = { .probe = ti_abb_probe, .driver = { .name = "ti_abb", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(ti_abb_of_match), }, };
drivers/regulator/tps51632-regulator.c +1 -0
@@ -351,6 +351,7 @@ MODULE_DEVICE_TABLE(i2c, tps51632_id);static struct i2c_driver tps51632_i2c_driver = { .driver = { .name ="tps51632" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (tps51632_of_match), }, .probe_new = tps51632_probe,
drivers/regulator/tps6105x-regulator.c +1 -0
@@ -93,6 +93,7 @@ static int tps6105x_regulator_probe(struct platform_device *pdev)static struct platform_driver tps6105x_regulator_driver = { .driver = { .name ="tps6105x-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps6105x_regulator_probe, };
drivers/regulator/tps62360-regulator.c +1 -0
@@ -488,6 +488,7 @@ MODULE_DEVICE_TABLE(i2c, tps62360_id);static struct i2c_driver tps62360_i2c_driver = { .driver = { .name ="tps62360" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (tps62360_of_match), }, .probe_new = tps62360_probe,
drivers/regulator/tps65023-regulator.c +1 -0
@@ -334,6 +334,7 @@ MODULE_DEVICE_TABLE(i2c, tps_65023_id);static struct i2c_driver tps_65023_i2c_driver = { .driver = { .name ="tps65023" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (tps65023_of_match), }, .probe_new = tps_65023_probe,
drivers/regulator/tps6507x-regulator.c +1 -0
@@ -438,6 +438,7 @@ static int tps6507x_pmic_probe(struct platform_device *pdev)static struct platform_driver tps6507x_pmic_driver = { .driver = { .name ="tps6507x-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps6507x_pmic_probe, };
drivers/regulator/tps65086-regulator.c +1 -0
@@ -235,6 +235,7 @@ MODULE_DEVICE_TABLE(platform, tps65086_regulator_id_table);static struct platform_driver tps65086_regulator_driver = { .driver = { .name ="tps65086-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps65086_regulator_probe, .id_table = tps65086_regulator_id_table,
drivers/regulator/tps65090-regulator.c +1 -0
@@ -511,6 +511,7 @@ static int tps65090_regulator_probe(struct platform_device *pdev)static struct platform_driver tps65090_regulator_driver = { .driver = { .name ="tps65090-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps65090_regulator_probe, };
drivers/regulator/tps65132-regulator.c +1 -0
@@ -270,6 +270,7 @@ MODULE_DEVICE_TABLE(i2c, tps65132_id);static struct i2c_driver tps65132_i2c_driver = { .driver = { .name ="tps65132" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe_new = tps65132_probe, .id_table = tps65132_id,
drivers/regulator/tps65217-regulator.c +1 -0
@@ -258,6 +258,7 @@ static int tps65217_regulator_probe(struct platform_device *pdev)static struct platform_driver tps65217_regulator_driver = { .driver = { .name ="tps65217-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps65217_regulator_probe, };
drivers/regulator/tps65218-regulator.c +1 -0
@@ -349,6 +349,7 @@ MODULE_DEVICE_TABLE(platform, tps65218_regulator_id_table);static struct platform_driver tps65218_regulator_driver = { .driver = { .name ="tps65218-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps65218_regulator_probe, .id_table = tps65218_regulator_id_table,
drivers/regulator/tps6524x-regulator.c +1 -0
@@ -628,6 +628,7 @@ static struct spi_driver pmic_driver = { .probe = pmic_probe, .driver = { .name = "tps6524x", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/tps6586x-regulator.c +1 -0
@@ -520,6 +520,7 @@ static int tps6586x_regulator_probe(struct platform_device *pdev)static struct platform_driver tps6586x_regulator_driver = { .driver = { .name ="tps6586x-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps6586x_regulator_probe, };
drivers/regulator/tps65910-regulator.c +1 -0
@@ -1255,6 +1255,7 @@ static void tps65910_shutdown(struct platform_device *pdev)static struct platform_driver tps65910_driver = { .driver = { .name ="tps65910-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps65910_probe, .shutdown = tps65910_shutdown,
drivers/regulator/tps65912-regulator.c +1 -0
@@ -150,6 +150,7 @@ MODULE_DEVICE_TABLE(platform, tps65912_regulator_id_table);static struct platform_driver tps65912_regulator_driver = { .driver = { .name ="tps65912-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps65912_regulator_probe, .id_table = tps65912_regulator_id_table,
drivers/regulator/twl-regulator.c +1 -0
@@ -656,6 +656,7 @@ static struct platform_driver twlreg_driver = {*/ .driver = { .name = "twl4030_reg", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(twl_of_match), }, };
drivers/regulator/twl6030-regulator.c +1 -0
@@ -765,6 +765,7 @@ static struct platform_driver twlreg_driver = {*/ .driver = { .name = "twl6030_reg", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(twl_of_match), }, };
drivers/regulator/userspace-consumer.c +1 -0
@@ -216,6 +216,7 @@ static struct platform_driver regulator_userspace_consumer_driver = { .remove = regulator_userspace_consumer_remove, .driver = { .name = "reg-userspace-consumer", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = regulator_userspace_consumer_of_match, }, };
drivers/regulator/vctrl-regulator.c +1 -0
@@ -543,6 +543,7 @@ static struct platform_driver vctrl_driver = { .probe = vctrl_probe, .driver = { .name = "vctrl-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(vctrl_of_match), }, };
drivers/regulator/vexpress-regulator.c +1 -0
@@ -88,6 +88,7 @@ static struct platform_driver vexpress_regulator_driver = { .probe = vexpress_regulator_probe, .driver = { .name = DRVNAME, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = vexpress_regulator_of_match, }, };
drivers/regulator/virtual.c +1 -0
@@ -362,6 +362,7 @@ static struct platform_driver regulator_virtual_consumer_driver = { .remove = regulator_virtual_remove, .driver = { .name = "reg-virt-consumer", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(regulator_virtual_consumer_of_match), }, };
drivers/regulator/wm831x-dcdc.c +4 -0
@@ -505,6 +505,7 @@ static struct platform_driver wm831x_buckv_driver = { .probe = wm831x_buckv_probe, .driver = { .name = "wm831x-buckv", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
@@ -632,6 +633,7 @@ static struct platform_driver wm831x_buckp_driver = { .probe = wm831x_buckp_probe, .driver = { .name = "wm831x-buckp", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
@@ -747,6 +749,7 @@ static struct platform_driver wm831x_boostp_driver = { .probe = wm831x_boostp_probe, .driver = { .name = "wm831x-boostp", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
@@ -822,6 +825,7 @@ static struct platform_driver wm831x_epe_driver = { .probe = wm831x_epe_probe, .driver = { .name = "wm831x-epe", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/wm831x-isink.c +1 -0
@@ -189,6 +189,7 @@ static struct platform_driver wm831x_isink_driver = { .probe = wm831x_isink_probe, .driver = { .name = "wm831x-isink", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/wm831x-ldo.c +3 -0
@@ -303,6 +303,7 @@ static struct platform_driver wm831x_gp_ldo_driver = { .probe = wm831x_gp_ldo_probe, .driver = { .name = "wm831x-ldo", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
@@ -512,6 +513,7 @@ static struct platform_driver wm831x_aldo_driver = { .probe = wm831x_aldo_probe, .driver = { .name = "wm831x-aldo", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
@@ -645,6 +647,7 @@ static struct platform_driver wm831x_alive_ldo_driver = { .probe = wm831x_alive_ldo_probe, .driver = { .name = "wm831x-alive-ldo", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/wm8350-regulator.c +1 -0
@@ -1309,6 +1309,7 @@ static struct platform_driver wm8350_regulator_driver = { .remove = wm8350_regulator_remove, .driver = { .name = "wm8350-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/wm8400-regulator.c +1 -0
@@ -223,6 +223,7 @@ static int wm8400_regulator_probe(struct platform_device *pdev)static struct platform_driver wm8400_regulator_driver = { .driver = { .name ="wm8400-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = wm8400_regulator_probe, };
drivers/regulator/wm8994-regulator.c +1 -0
@@ -227,6 +227,7 @@ static struct platform_driver wm8994_ldo_driver = { .probe = wm8994_ldo_probe, .driver = { .name = "wm8994-ldo", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
PATCH 2/7 regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.14 and 4.19
In reply to Douglas AndersonThis follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14") but changes regulators didn't exist in Linux 4.14 but did exist in Linux 4.19.
NOTE: from a quick "git cherry-pick" it looks as if "bd718x7-regulator.c" didn't actually exist in v4.19. In 4.19 it was named "bd71837-regulator.c". See commit 2ece646c90c5 ("regulator:
bd718xx: rename bd71837 to 718xx")
---
drivers/regulator/88pg86x.c | 1 + drivers/regulator/bd718x7-regulator.c | 1 + drivers/regulator/qcom-rpmh-regulator.c | 1 + drivers/regulator/sc2731-regulator.c | 1 + drivers/regulator/sy8106a-regulator.c | 1 + drivers/regulator/uniphier-regulator.c | 1 + 6 files changed, 6 insertions(+)
drivers/regulator/88pg86x.c +1 -0
@@ -101,6 +101,7 @@ MODULE_DEVICE_TABLE(i2c, pg86x_i2c_id);static struct i2c_driver pg86x_regulator_driver = { .driver = { .name ="88pg86x" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (pg86x_dt_ids), }, .probe_new = pg86x_i2c_probe,
drivers/regulator/bd718x7-regulator.c +1 -0
@@ -1829,6 +1829,7 @@ MODULE_DEVICE_TABLE(platform, bd718x7_pmic_id);static struct platform_driver bd718xx_regulator = { .driver = { .name ="bd718xx-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = bd718xx_probe, .id_table = bd718x7_pmic_id,
drivers/regulator/qcom-rpmh-regulator.c +1 -0
@@ -1462,6 +1462,7 @@ MODULE_DEVICE_TABLE(of, rpmh_regulator_match_table);static struct platform_driver rpmh_regulator_driver = { .driver = { .name ="qcom-rpmh-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (rpmh_regulator_match_table), }, .probe = rpmh_regulator_probe,
drivers/regulator/sc2731-regulator.c +1 -0
@@ -245,6 +245,7 @@ static int sc2731_regulator_probe(struct platform_device *pdev)static struct platform_driver sc2731_regulator_driver = { .driver = { .name ="sc27xx-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = sc2731_regulator_probe, };
drivers/regulator/sy8106a-regulator.c +1 -0
@@ -138,6 +138,7 @@ MODULE_DEVICE_TABLE(i2c, sy8106a_i2c_id);static struct i2c_driver sy8106a_regulator_driver = { .driver = { .name ="sy8106a" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = sy8106a_i2c_of_match, }, .probe_new = sy8106a_i2c_probe,
drivers/regulator/uniphier-regulator.c +1 -0
@@ -212,6 +212,7 @@ static struct platform_driver uniphier_regulator_driver = { .remove = uniphier_regulator_remove, .driver = { .name = "uniphier-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = uniphier_regulator_match, }, };
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
PATCH 3/7 regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.19 and 5.4
In reply to Douglas AndersonThis follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14") but changes regulators didn't exist in Linux 4.19 but did exist in Linux 5.4.
---
drivers/regulator/arizona-ldo1.c | 1 + drivers/regulator/arizona-micsupp.c | 1 + drivers/regulator/lochnagar-regulator.c | 1 + drivers/regulator/max77650-regulator.c | 1 + drivers/regulator/mcp16502.c | 1 + drivers/regulator/mt6358-regulator.c | 1 + drivers/regulator/slg51000-regulator.c | 1 + drivers/regulator/stm32-booster.c | 1 + drivers/regulator/stm32-pwr.c | 1 + drivers/regulator/stpmic1_regulator.c | 1 + drivers/regulator/sy8824x.c | 1 + 11 files changed, 11 insertions(+)
drivers/regulator/arizona-ldo1.c +1 -0
@@ -389,6 +389,7 @@ static struct platform_driver madera_ldo1_driver = { .remove = arizona_ldo1_remove, .driver = { .name = "madera-ldo1", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/arizona-micsupp.c +1 -0
@@ -373,6 +373,7 @@ static struct platform_driver madera_micsupp_driver = { .probe = madera_micsupp_probe, .driver = { .name = "madera-micsupp", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/lochnagar-regulator.c +1 -0
@@ -272,6 +272,7 @@ static int lochnagar_regulator_probe(struct platform_device *pdev)static struct platform_driver lochnagar_regulator_driver = { .driver = { .name ="lochnagar-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (lochnagar_of_match), },
drivers/regulator/max77650-regulator.c +1 -0
@@ -395,6 +395,7 @@ MODULE_DEVICE_TABLE(of, max77650_regulator_of_match);static struct platform_driver max77650_regulator_driver = { .driver = { .name ="max77650-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = max77650_regulator_of_match, }, .probe = max77650_regulator_probe,
drivers/regulator/mcp16502.c +1 -0
@@ -587,6 +587,7 @@ static struct i2c_driver mcp16502_drv = { .probe_new = mcp16502_probe, .driver = { .name = "mcp16502-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table =of_match_ptr (mcp16502_ids), #ifdef CONFIG_PM .pm = &mcp16502_pm_ops,
drivers/regulator/mt6358-regulator.c +1 -0
@@ -733,6 +733,7 @@ MODULE_DEVICE_TABLE(platform, mt6358_platform_ids);static struct platform_driver mt6358_regulator_driver = { .driver = { .name ="mt6358-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mt6358_regulator_probe, .id_table = mt6358_platform_ids,
drivers/regulator/slg51000-regulator.c +1 -0
@@ -505,6 +505,7 @@ MODULE_DEVICE_TABLE(i2c, slg51000_i2c_id);static struct i2c_driver slg51000_regulator_driver = { .driver = { .name ="slg51000-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe_new = slg51000_i2c_probe, .id_table = slg51000_i2c_id,
drivers/regulator/stm32-booster.c +1 -0
@@ -117,6 +117,7 @@ static struct platform_driver stm32_booster_driver = { .probe = stm32_booster_probe, .driver = { .name = "stm32-booster", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(stm32_booster_of_match), }, };
drivers/regulator/stm32-pwr.c +1 -0
@@ -176,6 +176,7 @@ static struct platform_driver stm32_pwr_driver = { .probe = stm32_pwr_regulator_probe, .driver = { .name = "stm32-pwr-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(stm32_pwr_of_match), }, };
drivers/regulator/stpmic1_regulator.c +1 -0
@@ -638,6 +638,7 @@ MODULE_DEVICE_TABLE(of, of_pmic_regulator_match);static struct platform_driver stpmic1_regulator_driver = { .driver = { .name ="stpmic1-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (of_pmic_regulator_match), }, .probe = stpmic1_regulator_probe,
drivers/regulator/sy8824x.c +1 -0
@@ -233,6 +233,7 @@ MODULE_DEVICE_TABLE(i2c, sy8824_id);static struct i2c_driver sy8824_regulator_driver = { .driver = { .name ="sy8824-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = sy8824_dt_ids, }, .probe_new = sy8824_i2c_probe,
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
PATCH 4/7 regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.4 and 5.10
In reply to Douglas AndersonThis follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14") but changes regulators didn't exist in Linux 5.4 but did exist in Linux 5.10.
---
drivers/regulator/bd71828-regulator.c | 3 ++- drivers/regulator/bd9576-regulator.c | 1 + drivers/regulator/cros-ec-regulator.c | 1 + drivers/regulator/fan53880.c | 1 + drivers/regulator/max77826-regulator.c | 1 + drivers/regulator/mp5416.c | 1 + drivers/regulator/mp8859.c | 1 + drivers/regulator/mp886x.c | 1 + drivers/regulator/mpq7920.c | 1 + drivers/regulator/mt6360-regulator.c | 1 + drivers/regulator/pca9450-regulator.c | 1 + drivers/regulator/qcom-labibb-regulator.c | 1 + drivers/regulator/qcom_usb_vbus-regulator.c | 1 + drivers/regulator/rpi-panel-attiny-regulator.c | 1 + drivers/regulator/rt4801-regulator.c | 1 + drivers/regulator/rtmv20-regulator.c | 1 + drivers/regulator/sy8827n.c | 1 + drivers/regulator/vqmmc-ipq4019-regulator.c | 1 + 18 files changed, 19 insertions(+), 1 deletion(-)
drivers/regulator/bd71828-regulator.c +2 -1
@@ -771,7 +771,8 @@ static int bd71828_probe(struct platform_device *pdev)static struct platform_driver bd71828_regulator = { .driver = { - .name ="bd71828-pmic" + .name ="bd71828-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = bd71828_probe, };
drivers/regulator/bd9576-regulator.c +1 -0
@@ -1126,6 +1126,7 @@ MODULE_DEVICE_TABLE(platform, bd957x_pmic_id);static struct platform_driver bd957x_regulator = { .driver = { .name ="bd957x-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = bd957x_probe, .id_table = bd957x_pmic_id,
drivers/regulator/cros-ec-regulator.c +1 -0
@@ -215,6 +215,7 @@ static struct platform_driver cros_ec_regulator_driver = { .probe = cros_ec_regulator_probe, .driver = { .name = "cros-ec-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = regulator_cros_ec_of_match, }, };
drivers/regulator/fan53880.c +1 -0
@@ -172,6 +172,7 @@ MODULE_DEVICE_TABLE(i2c, fan53880_i2c_id);static struct i2c_driver fan53880_regulator_driver = { .driver = { .name ="fan53880" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = fan53880_dt_ids, }, .probe_new = fan53880_i2c_probe,
drivers/regulator/max77826-regulator.c +1 -0
@@ -289,6 +289,7 @@ MODULE_DEVICE_TABLE(i2c, max77826_id);static struct i2c_driver max77826_regulator_driver = { .driver = { .name ="max77826" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (max77826_of_match), }, .probe_new = max77826_i2c_probe,
drivers/regulator/mp5416.c +1 -0
@@ -237,6 +237,7 @@ MODULE_DEVICE_TABLE(i2c, mp5416_id);static struct i2c_driver mp5416_regulator_driver = { .driver = { .name ="mp5416" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (mp5416_of_match), }, .probe_new = mp5416_i2c_probe,
drivers/regulator/mp8859.c +1 -0
@@ -144,6 +144,7 @@ MODULE_DEVICE_TABLE(i2c, mp8859_i2c_id);static struct i2c_driver mp8859_regulator_driver = { .driver = { .name ="mp8859" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (mp8859_dt_id), }, .probe_new = mp8859_i2c_probe,
drivers/regulator/mp886x.c +1 -0
@@ -362,6 +362,7 @@ MODULE_DEVICE_TABLE(i2c, mp886x_id);static struct i2c_driver mp886x_regulator_driver = { .driver = { .name ="mp886x-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = mp886x_dt_ids, }, .probe_new = mp886x_i2c_probe,
drivers/regulator/mpq7920.c +1 -0
@@ -318,6 +318,7 @@ MODULE_DEVICE_TABLE(i2c, mpq7920_id);static struct i2c_driver mpq7920_regulator_driver = { .driver = { .name ="mpq7920" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (mpq7920_of_match), }, .probe_new = mpq7920_i2c_probe,
drivers/regulator/mt6360-regulator.c +1 -0
@@ -446,6 +446,7 @@ MODULE_DEVICE_TABLE(platform, mt6360_regulator_id_table);static struct platform_driver mt6360_regulator_driver = { .driver = { .name ="mt6360-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mt6360_regulator_probe, .id_table = mt6360_regulator_id_table,
drivers/regulator/pca9450-regulator.c +1 -0
@@ -872,6 +872,7 @@ MODULE_DEVICE_TABLE(of, pca9450_of_match);static struct i2c_driver pca9450_i2c_driver = { .driver = { .name ="nxp-pca9450" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = pca9450_of_match, }, .probe_new = pca9450_i2c_probe,
drivers/regulator/qcom-labibb-regulator.c +1 -0
@@ -894,6 +894,7 @@ static int qcom_labibb_regulator_probe(struct platform_device *pdev)static struct platform_driver qcom_labibb_regulator_driver = { .driver = { .name ="qcom-lab-ibb-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = qcom_labibb_match, }, .probe = qcom_labibb_regulator_probe,
drivers/regulator/qcom_usb_vbus-regulator.c +1 -0
@@ -100,6 +100,7 @@ MODULE_DEVICE_TABLE(of, qcom_usb_vbus_regulator_match);static struct platform_driver qcom_usb_vbus_regulator_driver = { .driver = { .name ="qcom-usb-vbus-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = qcom_usb_vbus_regulator_match, }, .probe = qcom_usb_vbus_regulator_probe,
drivers/regulator/rpi-panel-attiny-regulator.c +1 -0
@@ -396,6 +396,7 @@ MODULE_DEVICE_TABLE(of, attiny_dt_ids);static struct i2c_driver attiny_regulator_driver = { .driver = { .name ="rpi_touchscreen_attiny" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (attiny_dt_ids), }, .probe_new = attiny_i2c_probe,
drivers/regulator/rt4801-regulator.c +1 -0
@@ -239,6 +239,7 @@ MODULE_DEVICE_TABLE(of, rt4801_of_id);static struct i2c_driver rt4801_driver = { .driver = { .name ="rt4801" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (rt4801_of_id), }, .probe_new = rt4801_probe,
drivers/regulator/rtmv20-regulator.c +1 -0
@@ -425,6 +425,7 @@ MODULE_DEVICE_TABLE(of, rtmv20_of_id);static struct i2c_driver rtmv20_driver = { .driver = { .name ="rtmv20" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (rtmv20_of_id), .pm = &rtmv20_pm, },
drivers/regulator/sy8827n.c +1 -0
@@ -187,6 +187,7 @@ MODULE_DEVICE_TABLE(i2c, sy8827n_id);static struct i2c_driver sy8827n_regulator_driver = { .driver = { .name ="sy8827n-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = sy8827n_dt_ids, }, .probe_new = sy8827n_i2c_probe,
drivers/regulator/vqmmc-ipq4019-regulator.c +1 -0
@@ -89,6 +89,7 @@ static struct platform_driver ipq4019_regulator_driver = { .probe = ipq4019_regulator_probe, .driver = { .name = "vqmmc-ipq4019-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(regulator_ipq4019_of_match), }, };
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
PATCH 5/7 regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.10 and 5.15
In reply to Douglas AndersonThis follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14") but changes regulators didn't exist in Linux 5.10 but did exist in Linux 5.15.
---
drivers/regulator/atc260x-regulator.c | 1 + drivers/regulator/bd71815-regulator.c | 1 + drivers/regulator/da9121-regulator.c | 1 + drivers/regulator/hi6421v600-regulator.c | 1 + drivers/regulator/max8893.c | 1 + drivers/regulator/mt6315-regulator.c | 1 + drivers/regulator/mt6359-regulator.c | 1 + drivers/regulator/mtk-dvfsrc-regulator.c | 1 + drivers/regulator/pf8x00-regulator.c | 1 + drivers/regulator/rt4831-regulator.c | 1 + drivers/regulator/rt6160-regulator.c | 1 + drivers/regulator/rt6245-regulator.c | 1 + drivers/regulator/rtq2134-regulator.c | 1 + drivers/regulator/rtq6752-regulator.c | 1 + drivers/regulator/sy7636a-regulator.c | 1 + 15 files changed, 15 insertions(+)
drivers/regulator/atc260x-regulator.c +1 -0
@@ -530,6 +530,7 @@ static struct platform_driver atc260x_regulator_driver = { .probe = atc260x_regulator_probe, .driver = { .name = "atc260x-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, };
drivers/regulator/bd71815-regulator.c +1 -0
@@ -619,6 +619,7 @@ MODULE_DEVICE_TABLE(platform, bd7181x_pmic_id);static struct platform_driver bd7181x_regulator = { .driver = { .name ="bd7181x-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = bd7181x_probe, .id_table = bd7181x_pmic_id,
drivers/regulator/da9121-regulator.c +1 -0
@@ -1194,6 +1194,7 @@ MODULE_DEVICE_TABLE(i2c, da9121_i2c_id);static struct i2c_driver da9121_regulator_driver = { .driver = { .name ="da9121" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (da9121_dt_ids), }, .probe_new = da9121_i2c_probe,
drivers/regulator/hi6421v600-regulator.c +1 -0
@@ -284,6 +284,7 @@ static struct platform_driver hi6421_spmi_regulator_driver = { .id_table = hi6421_spmi_regulator_table, .driver = { .name = "hi6421v600-regulator", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = hi6421_spmi_regulator_probe, };
drivers/regulator/max8893.c +1 -0
@@ -171,6 +171,7 @@ static struct i2c_driver max8893_driver = { .probe_new = max8893_probe_new, .driver = { .name = "max8893", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = of_match_ptr(max8893_dt_match), }, .id_table = max8893_ids,
drivers/regulator/mt6315-regulator.c +1 -0
@@ -287,6 +287,7 @@ static void mt6315_regulator_shutdown(struct spmi_device *pdev)static struct spmi_driver mt6315_regulator_driver = { .driver = { .name ="mt6315-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = mt6315_of_match, }, .probe = mt6315_regulator_probe,
drivers/regulator/mt6359-regulator.c +1 -0
@@ -982,6 +982,7 @@ MODULE_DEVICE_TABLE(platform, mt6359_platform_ids);static struct platform_driver mt6359_regulator_driver = { .driver = { .name ="mt6359-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mt6359_regulator_probe, .id_table = mt6359_platform_ids,
drivers/regulator/mtk-dvfsrc-regulator.c +1 -0
@@ -194,6 +194,7 @@ static int dvfsrc_vcore_regulator_probe(struct platform_device *pdev)static struct platform_driver mtk_dvfsrc_regulator_driver = { .driver = { .name ="mtk-dvfsrc-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = dvfsrc_vcore_regulator_probe, };
drivers/regulator/pf8x00-regulator.c +1 -0
@@ -607,6 +607,7 @@ static struct i2c_driver pf8x00_regulator_driver = { .id_table = pf8x00_i2c_id, .driver = { .name = "pf8x00", + .probe_type = PROBE_PREFER_ASYNCHRONOUS, .of_match_table = pf8x00_dt_ids, }, .probe_new = pf8x00_i2c_probe,
drivers/regulator/rt4831-regulator.c +1 -0
@@ -194,6 +194,7 @@ MODULE_DEVICE_TABLE(platform, rt4831_regulator_match);static struct platform_driver rt4831_regulator_driver = { .driver = { .name ="rt4831-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .id_table = rt4831_regulator_match, .probe = rt4831_regulator_probe,
drivers/regulator/rt6160-regulator.c +1 -0
@@ -308,6 +308,7 @@ MODULE_DEVICE_TABLE(of, rt6160_of_match_table);static struct i2c_driver rt6160_driver = { .driver = { .name ="rt6160" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = rt6160_of_match_table, }, .probe_new = rt6160_probe,
drivers/regulator/rt6245-regulator.c +1 -0
@@ -243,6 +243,7 @@ MODULE_DEVICE_TABLE(of, rt6245_of_match_table);static struct i2c_driver rt6245_driver = { .driver = { .name ="rt6245" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = rt6245_of_match_table, }, .probe_new = rt6245_probe,
drivers/regulator/rtq2134-regulator.c +1 -0
@@ -363,6 +363,7 @@ MODULE_DEVICE_TABLE(of, rtq2134_device_tables);static struct i2c_driver rtq2134_driver = { .driver = { .name ="rtq2134" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = rtq2134_device_tables, }, .probe_new = rtq2134_probe,
drivers/regulator/rtq6752-regulator.c +1 -0
@@ -278,6 +278,7 @@ MODULE_DEVICE_TABLE(of, rtq6752_device_table);static struct i2c_driver rtq6752_driver = { .driver = { .name ="rtq6752" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = rtq6752_device_table, }, .probe_new = rtq6752_probe,
drivers/regulator/sy7636a-regulator.c +1 -0
@@ -127,6 +127,7 @@ MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table);static struct platform_driver sy7636a_regulator_driver = { .driver = { .name ="sy7636a-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = sy7636a_regulator_probe, .id_table = sy7636a_regulator_id_table,
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
PATCH 6/7 regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.15 and 6.1
In reply to Douglas AndersonThis follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14") but changes regulators didn't exist in Linux 5.15 but did exist in Linux 6.1.
---
drivers/regulator/max20086-regulator.c | 1 + drivers/regulator/max597x-regulator.c | 1 + drivers/regulator/mt6331-regulator.c | 1 + drivers/regulator/mt6332-regulator.c | 1 + drivers/regulator/mt6370-regulator.c | 1 + drivers/regulator/rt5120-regulator.c | 1 + drivers/regulator/rt5190a-regulator.c | 1 + drivers/regulator/rt5759-regulator.c | 1 + drivers/regulator/sm5703-regulator.c | 1 + drivers/regulator/tps6286x-regulator.c | 1 + drivers/regulator/tps65219-regulator.c | 1 + drivers/regulator/tps68470-regulator.c | 1 + 12 files changed, 12 insertions(+)
drivers/regulator/max20086-regulator.c +1 -0
@@ -320,6 +320,7 @@ MODULE_DEVICE_TABLE(of, max20086_dt_ids);static struct i2c_driver max20086_regulator_driver = { .driver = { .name ="max20086" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (max20086_dt_ids), }, .probe_new = max20086_i2c_probe,
drivers/regulator/max597x-regulator.c +1 -0
@@ -501,6 +501,7 @@ static int max597x_regulator_probe(struct platform_device *pdev)static struct platform_driver max597x_regulator_driver = { .driver = { .name ="max597x-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = max597x_regulator_probe, };
drivers/regulator/mt6331-regulator.c +1 -0
@@ -495,6 +495,7 @@ MODULE_DEVICE_TABLE(platform, mt6331_platform_ids);static struct platform_driver mt6331_regulator_driver = { .driver = { .name ="mt6331-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mt6331_regulator_probe, .id_table = mt6331_platform_ids,
drivers/regulator/mt6332-regulator.c +1 -0
@@ -410,6 +410,7 @@ MODULE_DEVICE_TABLE(platform, mt6332_platform_ids);static struct platform_driver mt6332_regulator_driver = { .driver = { .name ="mt6332-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mt6332_regulator_probe, .id_table = mt6332_platform_ids,
drivers/regulator/mt6370-regulator.c +1 -0
@@ -379,6 +379,7 @@ MODULE_DEVICE_TABLE(platform, mt6370_devid_table);static struct platform_driver mt6370_regulator_driver = { .driver = { .name ="mt6370-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .id_table = mt6370_devid_table, .probe = mt6370_regulator_probe,
drivers/regulator/rt5120-regulator.c +1 -0
@@ -409,6 +409,7 @@ MODULE_DEVICE_TABLE(platform, rt5120_regulator_dev_table);static struct platform_driver rt5120_regulator_driver = { .driver = { .name ="rt5120-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .id_table = rt5120_regulator_dev_table, .probe = rt5120_regulator_probe,
drivers/regulator/rt5190a-regulator.c +1 -0
@@ -505,6 +505,7 @@ MODULE_DEVICE_TABLE(of, rt5190a_device_table);static struct i2c_driver rt5190a_driver = { .driver = { .name ="rt5190a" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = rt5190a_device_table, }, .probe_new = rt5190a_probe,
drivers/regulator/rt5759-regulator.c +1 -0
@@ -359,6 +359,7 @@ MODULE_DEVICE_TABLE(of, rt5759_device_table);static struct i2c_driver rt5759_driver = { .driver = { .name ="rt5759" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (rt5759_device_table), }, .probe_new = rt5759_probe,
drivers/regulator/sm5703-regulator.c +1 -0
@@ -155,6 +155,7 @@ MODULE_DEVICE_TABLE(platform, sm5703_regulator_id);static struct platform_driver sm5703_regulator_driver = { .driver = { .name ="sm5703-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = sm5703_regulator_probe, .id_table = sm5703_regulator_id,
drivers/regulator/tps6286x-regulator.c +1 -0
@@ -147,6 +147,7 @@ MODULE_DEVICE_TABLE(i2c, tps6286x_i2c_id);static struct i2c_driver tps6286x_regulator_driver = { .driver = { .name ="tps6286x" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table =of_match_ptr (tps6286x_dt_ids), }, .probe_new = tps6286x_i2c_probe,
drivers/regulator/tps65219-regulator.c +1 -0
@@ -380,6 +380,7 @@ MODULE_DEVICE_TABLE(platform, tps65219_regulator_id_table);static struct platform_driver tps65219_regulator_driver = { .driver = { .name ="tps65219-pmic" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps65219_regulator_probe, .id_table = tps65219_regulator_id_table,
drivers/regulator/tps68470-regulator.c +1 -0
@@ -175,6 +175,7 @@ static int tps68470_regulator_probe(struct platform_device *pdev)static struct platform_driver tps68470_regulator_driver = { .driver = { .name ="tps68470-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = tps68470_regulator_probe, };
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
PATCH 7/7 regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 6.1
In reply to Douglas AndersonThis follows on the change ("regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14") but changes regulators that were not present in kernel 6.1.
---
drivers/regulator/max20411-regulator.c | 1 + drivers/regulator/mt6357-regulator.c | 1 + drivers/regulator/rt5739.c | 1 + drivers/regulator/rt6190-regulator.c | 1 + 4 files changed, 4 insertions(+)
drivers/regulator/max20411-regulator.c +1 -0
@@ -153,6 +153,7 @@ MODULE_DEVICE_TABLE(i2c, max20411_id);static struct i2c_driver max20411_i2c_driver = { .driver = { .name ="max20411" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = of_max20411_match_tbl, }, .probe_new = max20411_probe,
drivers/regulator/mt6357-regulator.c +1 -0
@@ -439,6 +439,7 @@ MODULE_DEVICE_TABLE(platform, mt6357_platform_ids);static struct platform_driver mt6357_regulator_driver = { .driver = { .name ="mt6357-regulator" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , }, .probe = mt6357_regulator_probe, .id_table = mt6357_platform_ids,
drivers/regulator/rt5739.c +1 -0
@@ -279,6 +279,7 @@ MODULE_DEVICE_TABLE(of, rt5739_device_table);static struct i2c_driver rt5739_driver = { .driver = { .name ="rt5739" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = rt5739_device_table, }, .probe_new = rt5739_probe,
drivers/regulator/rt6190-regulator.c +1 -0
@@ -483,6 +483,7 @@ MODULE_DEVICE_TABLE(of, rt6190_of_dev_table);static struct i2c_driver rt6190_driver = { .driver = { .name ="rt6190" , + .probe_type =PROBE_PREFER_ASYNCHRONOUS , .of_match_table = rt6190_of_dev_table, .pm =pm_ptr (&rt6190_dev_pm), },
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog
Matti Vaittinen
maintainerHi dee Ho peeps,
Quoted 22 lines · Douglas Anderson
This series directly follows from the discussion when I tried to turn on
PROBE_PREFER_ASYNCHRONOUSjust for the fixed-regulator [1] and attempts to switch everything indrivers/regulatorover to async probe.Like the similar patch series I did for the MMC subsystem a few years ago [2], I've split this patch series into batches corresponding to drivers corresponding to actively maintained stable kernel trees with the idea to break the patch series up somewhat.
Most of the description of this series is contained in the first patch of the series and then the further patches simply refer back to the first one. The logic and reasoning behind all the patches is exactly the same.
As talked about in the first patch, it wouldn't be at all shocking if this broke someone. Hopefully this doesn't cause too much of a problem. Most of the problems expected would be real underlying bugs that already existed and were just tickled by this change. If you're facing a problem, it's fairly easy to force individual drivers back to "synchronous" probing while the problem is tracked down and fixed.
Quoted 6 lines
I am opting _not_ to CC every single person involved in each of these regulators on this patch series because I suspect that the mailing lists couldn't handle CCing that many people. This should be on LKML so hopefully people can find it there and respond to it that way. Anyone who responds will get CCed on future versions, if there are any.
The ROHM bd71837/47 (which is included in this series) as well as for the ROHM bd71815, bd71828, bd9576 and bd9573 (which are included in the other series) - there should be no PMIC internal dependencies to regulators. So, from my perspective this looks good.
Right after saying this - I don't have access to most of the boards using these PMICs - nor do I know what kind of system level issues there may be - hence my ack is not really worth much - but at least I can say: "Yes, bring em on - I am mentally prepared for the bug reports" :)
Thanks!
Yours,
-- Matti
Signature · 5 lines
Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~
Mark Brown
maintainerQuoted 11 lines · Douglas Anderson
This series directly follows from the discussion when I tried to turn on
PROBE_PREFER_ASYNCHRONOUSjust for the fixed-regulator [1] and attempts to switch everything indrivers/regulatorover to async probe.Like the similar patch series I did for the MMC subsystem a few years ago [2], I've split this patch series into batches corresponding to drivers corresponding to actively maintained stable kernel trees with the idea to break the patch series up somewhat.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in 4.14
commit: 259b93b21a9ffe5117af4dfb5505437e463c6a5a
[2/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.14 and 4.19
commit: ed6962cc3e05ca77f526590f62587678149d5e58
[3/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.19 and 5.4
commit: d3b81d97d55871cb11412caedded440f1fddc4e9
[4/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.4 and 5.10
commit: 67dc71c61b64be85ce33d3332ca5511f9b1faef7
[5/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.10 and 5.15
commit: 46600ab142f8c2ecc2a647175fd86d53bc285a9a
[6/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.15 and 6.1
commit: 41cff178e3d6df28acd8490519a656c509b4496f
[7/7] regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 6.1
commit: bdce47bb19cbf7784d48e93677c868a69dbae439All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark