summaryrefslogtreecommitdiff
path: root/drivers/regulator/qcom_usb_vbus-regulator.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/qcom_usb_vbus-regulator.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/qcom_usb_vbus-regulator.c')
-rw-r--r--drivers/regulator/qcom_usb_vbus-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/qcom_usb_vbus-regulator.c b/drivers/regulator/qcom_usb_vbus-regulator.c
index 2e627c2b6c51..57ec613f4a0a 100644
--- a/drivers/regulator/qcom_usb_vbus-regulator.c
+++ b/drivers/regulator/qcom_usb_vbus-regulator.c
@@ -100,6 +100,7 @@ MODULE_DEVICE_TABLE(of, qcom_usb_vbus_regulator_match);
static struct platform_driver qcom_usb_vbus_regulator_driver = {
.driver = {
.name = "qcom-usb-vbus-regulator",
+ .probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = qcom_usb_vbus_regulator_match,
},
.probe = qcom_usb_vbus_regulator_probe,