• Ioana Ciornei's avatar
    dpaa2-switch: no need to check link state right after ndo_open · 2b24ffd8
    Ioana Ciornei authored
    The call to dpaa2_switch_port_link_state_update is a leftover from the
    time when on DPAA2 platforms the PHYs were started at boot time so when
    an ifconfig was issued on the associated interface, the link status
    needed to be checked directly from the ndo_open() callback.  This is not
    needed anymore since we are now properly integrated with the PHY layer
    thus a link interrupt will come directly from the PHY eventually without
    the need to call the sync function.
    Fix this up by removing the call to dpaa2_switch_port_link_state_update.
    Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2b24ffd8
dpaa2-switch.c 85.6 KB