linux/drivers/net/ethernet/freescale/dpaa2
Ioana Ciornei 4e30e98c4b dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode is not set
We could get into a situation when the fwnode of the parent device is
not yet set because its probe didn't yet finish. When this happens, any
caller of the dpaa2_mac_open() will not have the fwnode available, thus
cause problems at the PHY connect time.

Avoid this by just returning -EPROBE_DEFER from the dpaa2_mac_open when
this happens.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-01-06 19:49:10 -08:00
..
dpaa2-eth-dcb.c
dpaa2-eth-debugfs.c dpaa2-eth: name the debugfs directory after the DPNI object 2021-05-21 14:05:04 -07:00
dpaa2-eth-debugfs.h
dpaa2-eth-devlink.c dpaa2-eth: Register devlink instance at the end of probe 2021-09-27 16:31:59 +01:00
dpaa2-eth-trace.h
dpaa2-eth.c bpf: Let bpf_warn_invalid_xdp_action() report more info 2021-12-13 22:28:27 +01:00
dpaa2-eth.h dpaa2-eth: fix ethtool statistics 2021-12-15 17:48:54 -08:00
dpaa2-ethtool.c dpaa2-eth: fix ethtool statistics 2021-12-15 17:48:54 -08:00
dpaa2-mac.c dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnode is not set 2022-01-06 19:49:10 -08:00
dpaa2-mac.h net: phy: lynx: refactor Lynx PCS module to use generic phylink_pcs 2022-01-02 18:48:47 +00:00
dpaa2-ptp.c
dpaa2-ptp.h
dpaa2-switch-ethtool.c dpaa2-switch: export MAC statistics in ethtool 2021-08-04 09:53:34 +01:00
dpaa2-switch-flower.c dpaa2-switch: offload shared block mirror filters when binding to a port 2021-07-29 21:34:45 +01:00
dpaa2-switch.c ethernet: use eth_hw_addr_set() for dev->addr_len cases 2021-10-05 13:16:48 +01:00
dpaa2-switch.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
dpkg.h
dpmac-cmd.h
dpmac.c
dpmac.h
dpni-cmd.h
dpni.c
dpni.h
dprtc-cmd.h
dprtc.c
dprtc.h
dpsw-cmd.h dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.c dpaa2-switch: add API for setting up mirroring 2021-07-29 21:34:45 +01:00
dpsw.h dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00
Kconfig
Makefile dpaa2-switch: integrate the MAC endpoint support 2021-08-04 09:53:34 +01:00