]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: fix incorrect GMAC_VLAN_TAG register writting in GMAC4+
authorTan, Tee Min <tee.min.tan@intel.com>
Fri, 7 Feb 2020 07:33:20 +0000 (15:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Feb 2020 10:36:21 +0000 (11:36 +0100)
commitc58246554b065316453266c5411e9faef0a9c4b1
treee83995778d0d9acf5f02c6b6a0c251c04b94af34
parentb2ce78b75e283023c689c4409a8cc7edc6bc7b2c
net: stmmac: fix incorrect GMAC_VLAN_TAG register writting in GMAC4+

It should always do a read of current value of GMAC_VLAN_TAG instead of
directly overwriting the register value.

Fixes: f42652f265a4 ("net: stmmac: Add VLAN HASH filtering support in GMAC4+")
Signed-off-by: Tan, Tee Min <tee.min.tan@intel.com>
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/dwmac4_core.c