summaryrefslogtreecommitdiff
path: root/drivers/regulator/mpq7920.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-03-16 12:54:41 -0700
committerMark Brown <broonie@kernel.org>2023-03-20 13:11:28 +0000
commit67dc71c61b64be85ce33d3332ca5511f9b1faef7 (patch)
treeadf87cc6596c3084c9e66976530e22736d0b2e79 /drivers/regulator/mpq7920.c
parentd3b81d97d55871cb11412caedded440f1fddc4e9 (diff)
regulator: Set PROBE_PREFER_ASYNCHRONOUS for drivers between 5.4 and 5.10
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.4 but did exist in Linux 5.10. Signed-off-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20230316125351.4.I01f21c98901641a009890590ddc1354c0f294e5e@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/mpq7920.c')
-rw-r--r--drivers/regulator/mpq7920.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/mpq7920.c b/drivers/regulator/mpq7920.c
index 54c862edf571..544d41b88514 100644
--- a/drivers/regulator/mpq7920.c
+++ b/drivers/regulator/mpq7920.c
@@ -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,