]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: fix incorrect XGMAC_VLAN_TAG register writting
authorOng Boon Leong <boon.leong.ong@intel.com>
Fri, 7 Feb 2020 07:33:40 +0000 (15:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Feb 2020 10:36:21 +0000 (11:36 +0100)
commit9acc9df2af48cba70c3bb47645e058aa8aead75b
treea573f9477a76e60b6a10c1353f3f600b50fee1d2
parentc58246554b065316453266c5411e9faef0a9c4b1
net: stmmac: xgmac: fix incorrect XGMAC_VLAN_TAG register writting

We should always do a read of current value of XGMAC_VLAN_TAG instead of
directly overwriting the register value.

Fixes: 09ed2c5a0059c ("net: stmmac: Implement VLAN Hash Filtering in XGMAC")
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c