staging: dpaa2-ethsw: read the port state from firmware
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 21 Jul 2020 09:19:18 +0000 (12:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 14:53:34 +0000 (16:53 +0200)
commit1867a402d801d93f9f9b24fdaef1bc84b9debd5d
tree60f6f1678af311f5f1039c607b09dfd646e11a34
parentadcdd57d5feab928d58959956844a6b755a41650
staging: dpaa2-ethsw: read the port state from firmware

Rely on the port state seen by the firmware since it will also be the
one erroring out when trying to setup anything major when the port is
up.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20200721091919.20394-6-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c