]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dpaa2-ptp: defer probe when portal allocation failed
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 9 Nov 2018 15:26:46 +0000 (15:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2018 04:08:58 +0000 (20:08 -0800)
commit5500598abbfb5b46201b9768bd9ea873a5eeaece
tree83d8fa6c45d48ae8307a1a0aa4fad3365593a89a
parentd7f5a9d89a55af68908a013811404971f88d661e
dpaa2-ptp: defer probe when portal allocation failed

The fsl_mc_portal_allocate can fail when the requested MC portals are
not yet probed by the fsl_mc_allocator. In this situation, the driver
should defer the probe.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c