]> www.infradead.org Git - users/dwmw2/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 19:02:07 +0000 (20:02 +0100)
commit15b4e9e2869b71893cf5ae346e776b2c2b0248f9
treea06520fd4bf08b6e6ae079730d036e7492e96a3c
parentc6981ee92ac33191dfac57ce44e2dffbb318503f
dpaa2-ptp: defer probe when portal allocation failed

[ Upstream commit 5500598abbfb5b46201b9768bd9ea873a5eeaece ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c