net: mvpp2: set mac address does not require the stop/start sequence
authorYan Markman <ymarkman@marvell.com>
Thu, 17 May 2018 08:34:26 +0000 (10:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 20:18:54 +0000 (16:18 -0400)
commit5b0ab2f41d7593d87762dce1cbaf548f988a2917
tree9f51dc986b86c7cb5fe388567d33a5d503d88c1a
parent914365f1c97d3aa1881fd6fc477c4799a39c00f9
net: mvpp2: set mac address does not require the stop/start sequence

Remove special stop/start handling from the set_mac_address callback.
All this special care is not needed, and can be removed. It also
simplifies the up/down status in the driver and helps avoiding possible
link status mismatch issues.

Signed-off-by: Yan Markman <ymarkman@marvell.com>
[Antoine: commit message]
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c