commit | 10c6fe4c9938ba99d0413f72a0b21644d0ed55e6 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Tue Jun 29 20:53:15 2021 +0300 |
committer | Ramon Fried <rfried.dev@gmail.com> | Tue Jul 06 05:22:41 2021 +0300 |
tree | da944af56422a89dcb54e9de1414aeb07a424a73 | |
parent | ddd7fd7335f29d7d4e626e2beb0a4f4a2114808d [diff] |
net: enetc: require a PHY device when probing 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: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>