Skip to content

Commit ed6962c

Browse files
diandersbroonie
authored andcommitted
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 4.14 and 4.19
This 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 2ece646 ("regulator: bd718xx: rename bd71837 to 718xx") Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20230316125351.2.Iad1f25517bb46a6c7fca8d8c80ed4fc258a79ed9@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 259b93b commit ed6962c

6 files changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/regulator/88pg86x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ MODULE_DEVICE_TABLE(i2c, pg86x_i2c_id);
101101
static struct i2c_driver pg86x_regulator_driver = {
102102
.driver = {
103103
.name = "88pg86x",
104+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
104105
.of_match_table = of_match_ptr(pg86x_dt_ids),
105106
},
106107
.probe_new = pg86x_i2c_probe,

drivers/regulator/bd718x7-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,6 +1829,7 @@ MODULE_DEVICE_TABLE(platform, bd718x7_pmic_id);
18291829
static struct platform_driver bd718xx_regulator = {
18301830
.driver = {
18311831
.name = "bd718xx-pmic",
1832+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
18321833
},
18331834
.probe = bd718xx_probe,
18341835
.id_table = bd718x7_pmic_id,

drivers/regulator/qcom-rpmh-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,7 @@ MODULE_DEVICE_TABLE(of, rpmh_regulator_match_table);
14621462
static struct platform_driver rpmh_regulator_driver = {
14631463
.driver = {
14641464
.name = "qcom-rpmh-regulator",
1465+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
14651466
.of_match_table = of_match_ptr(rpmh_regulator_match_table),
14661467
},
14671468
.probe = rpmh_regulator_probe,

drivers/regulator/sc2731-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ static int sc2731_regulator_probe(struct platform_device *pdev)
245245
static struct platform_driver sc2731_regulator_driver = {
246246
.driver = {
247247
.name = "sc27xx-regulator",
248+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
248249
},
249250
.probe = sc2731_regulator_probe,
250251
};

drivers/regulator/sy8106a-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ MODULE_DEVICE_TABLE(i2c, sy8106a_i2c_id);
138138
static struct i2c_driver sy8106a_regulator_driver = {
139139
.driver = {
140140
.name = "sy8106a",
141+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
141142
.of_match_table = sy8106a_i2c_of_match,
142143
},
143144
.probe_new = sy8106a_i2c_probe,

drivers/regulator/uniphier-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ static struct platform_driver uniphier_regulator_driver = {
212212
.remove = uniphier_regulator_remove,
213213
.driver = {
214214
.name = "uniphier-regulator",
215+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
215216
.of_match_table = uniphier_regulator_match,
216217
},
217218
};

0 commit comments

Comments
 (0)