diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-11-10 22:33:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-11 15:55:15 +0300 |
commit | c499696e7901bda18385ac723b7bd27c3a4af624 (patch) | |
tree | 2af71c8275901b90d953726a5df1fa6e04de07b9 /Documentation/process | |
parent | 4d215ae730786f51b108873227c67dc7815dbdef (diff) | |
download | linux-c499696e7901bda18385ac723b7bd27c3a4af624.tar.xz |
net: dsa: b53: Stop using dev->cpu_port incorrectly
dev->cpu_port is the driver local information that should only be used
to look up register offsets for a particular port, when they differ
(e.g: IMP port override), but it should certainly not be used in place
of the DSA configured CPU port.
Since the DSA switch layer calls port_vlan_{add,del}() on the CPU port
as well, we can remove the specific setting of the CPU port within
port_vlan_{add,del}.
Fixes: ff39c2d68679 ("net: dsa: b53: Add bridge support")
Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/process')
0 files changed, 0 insertions, 0 deletions