Hi Julien,

On 1/8/26 3:42 PM, Julien Stephan wrote:
[...]
@@ -51,10 +53,10 @@ int regulator_common_get_enable(const struct udevice *dev,
        struct regulator_common_plat *plat)
  {
        /* Enable GPIO is optional */
-       if (!dm_gpio_is_valid(&plat->gpio))
-               return true;
+       if (CONFIG_IS_ENABLED(DM_GPIO))

Missing check on dm_gpio_is_valid() here?

Cheers,
Quentin

Reply via email to