[U-Boot] [PATCH] net: dm: fec: Fix regulator enable when using DM_REGULATOR

Joe Hershberger joe.hershberger at ni.com
Tue Jan 15 18:41:45 UTC 2019


On Tue, Jan 15, 2019 at 11:27 AM Adam Ford <aford173 at gmail.com> wrote:
>
> When DM_REGULATOR is enabled, the driver attempts to call
> regulator_autoset() which expects the regulators to be on at boot
> and/or always on and fails if they are not true.
> For a more generic approach, this patch just calls
> regulator_set_enable() which shouldn't have such restrictions.
>
> Fixes: ad8c43cbcafb ("net: dm: fec: Support the phy-supply
> binding")
>
> Signed-off-by: Adam Ford <aford173 at gmail.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list