commit | 5da96031834a65e064b97c8d9f7df958c818a4cc | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Mar 07 18:24:39 2016 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 10 16:10:30 2016 -0500 |
tree | 773c3913e051096a9972e5403caab66c47388a26 | |
parent | 2d9deae4aedee2be2205e22440ac357c37013658 [diff] |
net: dsa: mv88e6xxx: read then write PVID The port register 0x07 contains more options than just the default VID, even though they are not used yet. So prefer a read then write operation over a direct write. This also allows to keep track of the change through dynamic debug. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>