]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-dpaa2/eth: Defer probing if no MC portal available
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Tue, 20 Mar 2018 12:04:46 +0000 (07:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 17:15:34 +0000 (18:15 +0100)
commit55059009b33c2afa80c09ea03fe08e47b65741f0
tree83462101be7038bdf2bedab5dd1d6ea166ea4245
parent81e1a00b2c58bb6ed4d4910107612a42b45366ce
staging: fsl-dpaa2/eth: Defer probing if no MC portal available

MC portals may not be available at the initial probing attempt
due to dependencies on other modules.

Check the return value of the MC portal allocation function and
defer probing in case it's not available yet. For all other error
cases the behaviour stays the same.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Suggested-by: Nipun Gupta <nipun.gupta@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c