commit 51c4679d2f84 ("power: regulator: Trigger probe of regulators which are 
always-on or boot-on")
allow always on and boot on regulators to be early probed.
Due to this probing boot time increases.
Since in hardware regulators are always on, so probing of such
regulators can be avoided.

Signed-off-by: Udit Kumar <[email protected]>
---
 drivers/power/regulator/regulator-uclass.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/power/regulator/regulator-uclass.c 
b/drivers/power/regulator/regulator-uclass.c
index 09567eb9dbb..2ab3f46685e 100644
--- a/drivers/power/regulator/regulator-uclass.c
+++ b/drivers/power/regulator/regulator-uclass.c
@@ -451,14 +451,6 @@ static int regulator_post_bind(struct udevice *dev)
                return -EINVAL;
        }
 
-       /*
-        * In case the regulator has regulator-always-on or
-        * regulator-boot-on DT property, trigger probe() to
-        * configure its default state during startup.
-        */
-       if (uc_pdata->always_on || uc_pdata->boot_on)
-               dev_or_flags(dev, DM_FLAG_PROBE_AFTER_BIND);
-
        return 0;
 }
 
-- 
2.34.1

Reply via email to