Skip to content

Commit bdce47b

Browse files
diandersbroonie
authored andcommitted
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 6.1
This 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. Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20230316125351.7.I31771918f1d8dbe4bfb9f1fef7ff987f2b7504b5@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 41cff17 commit bdce47b

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/regulator/max20411-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ MODULE_DEVICE_TABLE(i2c, max20411_id);
153153
static struct i2c_driver max20411_i2c_driver = {
154154
.driver = {
155155
.name = "max20411",
156+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
156157
.of_match_table = of_max20411_match_tbl,
157158
},
158159
.probe_new = max20411_probe,

drivers/regulator/mt6357-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ MODULE_DEVICE_TABLE(platform, mt6357_platform_ids);
439439
static struct platform_driver mt6357_regulator_driver = {
440440
.driver = {
441441
.name = "mt6357-regulator",
442+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
442443
},
443444
.probe = mt6357_regulator_probe,
444445
.id_table = mt6357_platform_ids,

drivers/regulator/rt5739.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ MODULE_DEVICE_TABLE(of, rt5739_device_table);
279279
static struct i2c_driver rt5739_driver = {
280280
.driver = {
281281
.name = "rt5739",
282+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
282283
.of_match_table = rt5739_device_table,
283284
},
284285
.probe_new = rt5739_probe,

drivers/regulator/rt6190-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ MODULE_DEVICE_TABLE(of, rt6190_of_dev_table);
483483
static struct i2c_driver rt6190_driver = {
484484
.driver = {
485485
.name = "rt6190",
486+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
486487
.of_match_table = rt6190_of_dev_table,
487488
.pm = pm_ptr(&rt6190_dev_pm),
488489
},

0 commit comments

Comments
 (0)