[PATCH v2 1/2] net: fec: Don't use disabled phys

2021-05-02 Thread stefano . babic
> If a phy is disabled, don't use it. This matches Linux's behavior. > Signed-off-by: Sean Anderson > Reviewed-by: Ramon Fried Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH v2 1/2] net: fec: Don't use disabled phys

2021-04-15 Thread Sean Anderson
If a phy is disabled, don't use it. This matches Linux's behavior. Signed-off-by: Sean Anderson Reviewed-by: Ramon Fried --- Changes in v2: - Fix debug statement missing a parameter. - Assign phy_of_node only after we determine if the node is available. drivers/net/fec_mxc.c | 15 +---