net: dsa: mv88e6xxx: fix setup of port control 1
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 20 Apr 2015 21:19:23 +0000 (17:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2015 02:01:15 +0000 (22:01 -0400)
commit614f03fc6a897d212546a93f50d449409215dfd4
tree6a99f6e807c64dae4cec768def2d4b972248fdd6
parent91f5bd8437d39feecfee215e032f440b1faa25f8
net: dsa: mv88e6xxx: fix setup of port control 1

mv88e6xxx_setup_port_common was writing to PORT_DEFAULT_VLAN (port
offset 0x07) instead of PORT_CONTROL_1 (port offset 0x05).

Fixes: cca8b1337541 ("net: dsa: Use mnemonics rather than register numbers")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c