]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: stmmac: fix incorrect bit set in gmac4 mdio addr register
authorKweh, Hock Leong <hock.leong.kweh@intel.com>
Tue, 27 Dec 2016 20:07:41 +0000 (04:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Dec 2016 17:28:08 +0000 (12:28 -0500)
commit5799fc905930f866c7d32aaf81b31f8027297506
tree661fe02f44483a6b678687e0f00db985a0de7186
parent610c908773d30907c950ca3b2ee8ac4b2813537b
net: stmmac: fix incorrect bit set in gmac4 mdio addr register

Fixing the gmac4 mdio write access to use MII_GMAC4_WRITE only instead of
OR together with MII_WRITE.

Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@intel.com>
Acked-By: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c