On Fri, Nov 10, 2017 at 11:33:26AM -0800, Florian Fainelli wrote: > 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.faine...@gmail.com>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew