]> 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)
commitfcce6e59f521e1ea8b621e78d0c430ff0be05526
treea573f9477a76e60b6a10c1353f3f600b50fee1d2
parent4989b00093832994c365473946c26ccf7db938a4
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: 597402303cbde ("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