Skip to content

Commit 46600ab

Browse files
diandersbroonie
authored andcommitted
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.10 and 5.15
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 5.10 but did exist in Linux 5.15. Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20230316125351.5.Ia0e6d859bdfe42ea5c187fb1eb4705c1b5ea23a1@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 67dc71c commit 46600ab

15 files changed

Lines changed: 15 additions & 0 deletions

drivers/regulator/atc260x-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ static struct platform_driver atc260x_regulator_driver = {
530530
.probe = atc260x_regulator_probe,
531531
.driver = {
532532
.name = "atc260x-regulator",
533+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
533534
},
534535
};
535536

drivers/regulator/bd71815-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ MODULE_DEVICE_TABLE(platform, bd7181x_pmic_id);
619619
static struct platform_driver bd7181x_regulator = {
620620
.driver = {
621621
.name = "bd7181x-pmic",
622+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
622623
},
623624
.probe = bd7181x_probe,
624625
.id_table = bd7181x_pmic_id,

drivers/regulator/da9121-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,7 @@ MODULE_DEVICE_TABLE(i2c, da9121_i2c_id);
11941194
static struct i2c_driver da9121_regulator_driver = {
11951195
.driver = {
11961196
.name = "da9121",
1197+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
11971198
.of_match_table = of_match_ptr(da9121_dt_ids),
11981199
},
11991200
.probe_new = da9121_i2c_probe,

drivers/regulator/hi6421v600-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ static struct platform_driver hi6421_spmi_regulator_driver = {
284284
.id_table = hi6421_spmi_regulator_table,
285285
.driver = {
286286
.name = "hi6421v600-regulator",
287+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
287288
},
288289
.probe = hi6421_spmi_regulator_probe,
289290
};

drivers/regulator/max8893.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ static struct i2c_driver max8893_driver = {
171171
.probe_new = max8893_probe_new,
172172
.driver = {
173173
.name = "max8893",
174+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
174175
.of_match_table = of_match_ptr(max8893_dt_match),
175176
},
176177
.id_table = max8893_ids,

drivers/regulator/mt6315-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ static void mt6315_regulator_shutdown(struct spmi_device *pdev)
287287
static struct spmi_driver mt6315_regulator_driver = {
288288
.driver = {
289289
.name = "mt6315-regulator",
290+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
290291
.of_match_table = mt6315_of_match,
291292
},
292293
.probe = mt6315_regulator_probe,

drivers/regulator/mt6359-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,7 @@ MODULE_DEVICE_TABLE(platform, mt6359_platform_ids);
982982
static struct platform_driver mt6359_regulator_driver = {
983983
.driver = {
984984
.name = "mt6359-regulator",
985+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
985986
},
986987
.probe = mt6359_regulator_probe,
987988
.id_table = mt6359_platform_ids,

drivers/regulator/mtk-dvfsrc-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ static int dvfsrc_vcore_regulator_probe(struct platform_device *pdev)
194194
static struct platform_driver mtk_dvfsrc_regulator_driver = {
195195
.driver = {
196196
.name = "mtk-dvfsrc-regulator",
197+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
197198
},
198199
.probe = dvfsrc_vcore_regulator_probe,
199200
};

drivers/regulator/pf8x00-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ static struct i2c_driver pf8x00_regulator_driver = {
607607
.id_table = pf8x00_i2c_id,
608608
.driver = {
609609
.name = "pf8x00",
610+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
610611
.of_match_table = pf8x00_dt_ids,
611612
},
612613
.probe_new = pf8x00_i2c_probe,

drivers/regulator/rt4831-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ MODULE_DEVICE_TABLE(platform, rt4831_regulator_match);
194194
static struct platform_driver rt4831_regulator_driver = {
195195
.driver = {
196196
.name = "rt4831-regulator",
197+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
197198
},
198199
.id_table = rt4831_regulator_match,
199200
.probe = rt4831_regulator_probe,

0 commit comments

Comments
 (0)