net: dsa: mv88e6xxx: fix 6085 frame mode masking
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 5 Jun 2017 22:17:16 +0000 (18:17 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 20:04:29 +0000 (16:04 -0400)
commit5461bd41fd93829fdd726c01f43799c743aba9a0
treea317dd1bfa989fca900636427bc9954d3a2ff40c
parent286556c0b63a91d48770d5979e6653656235dbb0
net: dsa: mv88e6xxx: fix 6085 frame mode masking

The register bits used for the frame mode were masked with DSA (0x1)
instead of the mask value (0x3) in the 6085 implementation of
port_set_frame_mode. Fix this.

Fixes: 56995cbc3540 ("net: dsa: mv88e6xxx: Refactor CPU and DSA port setup")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/port.c