summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_qos.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-06-29 20:53:15 +0300
committerRamon Fried <rfried.dev@gmail.com>2021-07-06 05:22:41 +0300
commitcd8817ac73bab6fd352b93bbd675cc50083f241d (patch)
treeda944af56422a89dcb54e9de1414aeb07a424a73 /drivers/net/dwc_eth_qos.c
parentbec7d5342d031ddfc4558aaafc1e6e63e5652917 (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>
Diffstat (limited to 'drivers/net/dwc_eth_qos.c')
0 files changed, 0 insertions, 0 deletions