net: systemport: Utilize bcm_sysport_set_features() during resume/open
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 27 Sep 2018 22:36:11 +0000 (15:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 06:11:52 +0000 (23:11 -0700)
commit297357d1a165cf23cc85a6a7ec32ffc854cbf13c
treefb472e2116b6ac0b9f3bbb8f7fcd51d73c5b995f
parent10b476c57b6282990231bfc0593ed84c76efb2b9
net: systemport: Utilize bcm_sysport_set_features() during resume/open

During driver resume and open, the HW may have lost its context/state,
utilize bcm_sysport_set_features() to make sure we do restore the
correct set of features that were previously configured.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c