Re: [PATCH v3 5/7] net: enetc: require a PHY device when probing

2021-06-29 Thread Ramon Fried
On Tue, Jun 29, 2021 at 8:55 PM Vladimir Oltean wrote: > > Given that even a fixed-link has an associated phy_device, there is no > reason to operate in a mode when dm_eth_phy_connect fails. > > Remove the driver checks for a NULL priv->phy and just return -ENODEV > when that happens. > > Copyrigh

[PATCH v3 5/7] net: enetc: require a PHY device when probing

2021-06-29 Thread Vladimir Oltean
Given that even a fixed-link has an associated phy_device, there is no reason to operate in a mode when dm_eth_phy_connect fails. Remove the driver checks for a NULL priv->phy and just return -ENODEV when that happens. Copyright updated according to corporate requirements. Signed-off-by: Vladimi