Skip to content

Commit 41cff17

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

12 files changed

Lines changed: 12 additions & 0 deletions

drivers/regulator/max20086-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ MODULE_DEVICE_TABLE(of, max20086_dt_ids);
320320
static struct i2c_driver max20086_regulator_driver = {
321321
.driver = {
322322
.name = "max20086",
323+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
323324
.of_match_table = of_match_ptr(max20086_dt_ids),
324325
},
325326
.probe_new = max20086_i2c_probe,

drivers/regulator/max597x-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ static int max597x_regulator_probe(struct platform_device *pdev)
501501
static struct platform_driver max597x_regulator_driver = {
502502
.driver = {
503503
.name = "max597x-regulator",
504+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
504505
},
505506
.probe = max597x_regulator_probe,
506507
};

drivers/regulator/mt6331-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ MODULE_DEVICE_TABLE(platform, mt6331_platform_ids);
495495
static struct platform_driver mt6331_regulator_driver = {
496496
.driver = {
497497
.name = "mt6331-regulator",
498+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
498499
},
499500
.probe = mt6331_regulator_probe,
500501
.id_table = mt6331_platform_ids,

drivers/regulator/mt6332-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ MODULE_DEVICE_TABLE(platform, mt6332_platform_ids);
410410
static struct platform_driver mt6332_regulator_driver = {
411411
.driver = {
412412
.name = "mt6332-regulator",
413+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
413414
},
414415
.probe = mt6332_regulator_probe,
415416
.id_table = mt6332_platform_ids,

drivers/regulator/mt6370-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ MODULE_DEVICE_TABLE(platform, mt6370_devid_table);
379379
static struct platform_driver mt6370_regulator_driver = {
380380
.driver = {
381381
.name = "mt6370-regulator",
382+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
382383
},
383384
.id_table = mt6370_devid_table,
384385
.probe = mt6370_regulator_probe,

drivers/regulator/rt5120-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ MODULE_DEVICE_TABLE(platform, rt5120_regulator_dev_table);
409409
static struct platform_driver rt5120_regulator_driver = {
410410
.driver = {
411411
.name = "rt5120-regulator",
412+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
412413
},
413414
.id_table = rt5120_regulator_dev_table,
414415
.probe = rt5120_regulator_probe,

drivers/regulator/rt5190a-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ MODULE_DEVICE_TABLE(of, rt5190a_device_table);
505505
static struct i2c_driver rt5190a_driver = {
506506
.driver = {
507507
.name = "rt5190a",
508+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
508509
.of_match_table = rt5190a_device_table,
509510
},
510511
.probe_new = rt5190a_probe,

drivers/regulator/rt5759-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ MODULE_DEVICE_TABLE(of, rt5759_device_table);
359359
static struct i2c_driver rt5759_driver = {
360360
.driver = {
361361
.name = "rt5759",
362+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
362363
.of_match_table = of_match_ptr(rt5759_device_table),
363364
},
364365
.probe_new = rt5759_probe,

drivers/regulator/sm5703-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ MODULE_DEVICE_TABLE(platform, sm5703_regulator_id);
155155
static struct platform_driver sm5703_regulator_driver = {
156156
.driver = {
157157
.name = "sm5703-regulator",
158+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
158159
},
159160
.probe = sm5703_regulator_probe,
160161
.id_table = sm5703_regulator_id,

drivers/regulator/tps6286x-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ MODULE_DEVICE_TABLE(i2c, tps6286x_i2c_id);
147147
static struct i2c_driver tps6286x_regulator_driver = {
148148
.driver = {
149149
.name = "tps6286x",
150+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
150151
.of_match_table = of_match_ptr(tps6286x_dt_ids),
151152
},
152153
.probe_new = tps6286x_i2c_probe,

0 commit comments

Comments
 (0)