summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mt6315-regulator.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2023-03-16 12:54:42 -0700
committerMark Brown <broonie@kernel.org>2023-03-20 13:11:29 +0000
commit46600ab142f8c2ecc2a647175fd86d53bc285a9a (patch)
tree47cbe1780476e23bad9297e7edd2945de3908ca0 /drivers/regulator/mt6315-regulator.c
parent67dc71c61b64be85ce33d3332ca5511f9b1faef7 (diff)
downloadlinux-stable-46600ab142f8c2ecc2a647175fd86d53bc285a9a.tar.gz
linux-stable-46600ab142f8c2ecc2a647175fd86d53bc285a9a.tar.bz2
linux-stable-46600ab142f8c2ecc2a647175fd86d53bc285a9a.zip
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>
Diffstat (limited to 'drivers/regulator/mt6315-regulator.c')
-rw-r--r--drivers/regulator/mt6315-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/mt6315-regulator.c b/drivers/regulator/mt6315-regulator.c
index 284c229e1aa4..8047081ea2f7 100644
--- a/drivers/regulator/mt6315-regulator.c
+++ b/drivers/regulator/mt6315-regulator.c
@@ -287,6 +287,7 @@ static void mt6315_regulator_shutdown(struct spmi_device *pdev)
static struct spmi_driver mt6315_regulator_driver = {
.driver = {
.name = "mt6315-regulator",
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = mt6315_of_match,
},
.probe = mt6315_regulator_probe,