summaryrefslogtreecommitdiff
path: root/drivers/regulator/sy8106a-regulator.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-03-16 22:54:39 +0300
committerMark Brown <broonie@kernel.org>2023-03-20 16:11:26 +0300
commited6962cc3e05ca77f526590f62587678149d5e58 (patch)
tree9e16d8c84d874c219f07e12af2595be8f766d86a /drivers/regulator/sy8106a-regulator.c
parent259b93b21a9ffe5117af4dfb5505437e463c6a5a (diff)
downloadlinux-ed6962cc3e05ca77f526590f62587678149d5e58.tar.xz
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 2ece646c90c5 ("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>
Diffstat (limited to 'drivers/regulator/sy8106a-regulator.c')
-rw-r--r--drivers/regulator/sy8106a-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/sy8106a-regulator.c b/drivers/regulator/sy8106a-regulator.c
index b10bd99768a3..e3c753986309 100644
--- a/drivers/regulator/sy8106a-regulator.c
+++ b/drivers/regulator/sy8106a-regulator.c
@@ -138,6 +138,7 @@ MODULE_DEVICE_TABLE(i2c, sy8106a_i2c_id);
static struct i2c_driver sy8106a_regulator_driver = {
.driver = {
.name = "sy8106a",
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sy8106a_i2c_of_match,
},
.probe_new = sy8106a_i2c_probe,