]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd93a112422bdd1fb2aa21979bde767b6450ba53d
tree9f51dc986b86c7cb5fe388567d33a5d503d88c1a
parent560f84907517495e3b5b654f010bbd892b8357d2
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