Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpaa2-mac: return -EPROBE_DEFER from dpaa2_mac_open in case the fwnod…
…e 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>
- Loading branch information