diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-11-29 16:12:15 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2022-12-01 13:40:22 +0100 |
| commit | 88d64367cea019fa6197d0d97a85ac90279919b7 (patch) | |
| tree | 5037ff40f128bf2ee1810204f3469585c72f0cc6 /lib/mpi/mpi-sub-ui.c | |
| parent | 02d61948e8daf3844d0af41ba5d563ef03cc7c4f (diff) | |
net: dpaa2-switch: assign port_priv->mac after dpaa2_mac_connect() call
The dpaa2-switch has the exact same locking requirements when connected
to a DPMAC, so it needs port_priv->mac to always point either to NULL,
or to a DPMAC with a fully initialized phylink instance.
Make the same preparatory change in the dpaa2-switch driver as in the
dpaa2-eth one.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
