diff options
author | Florian Fainelli | 2017-09-19 19:46:45 +0200 |
---|---|---|
committer | David S. Miller | 2017-09-20 01:08:53 +0200 |
commit | 34c8befd1365eb38f8dd7f3f81086fa766915610 (patch) | |
tree | 0b4b825cfbe47973d8d4f3dcdb5cb7e8e883d009 /drivers/net/plip | |
parent | net: dsa: b53: Make b53_enable_cpu_port() take a port argument (diff) | |
download | kernel-qcow2-linux-34c8befd1365eb38f8dd7f3f81086fa766915610.tar.gz kernel-qcow2-linux-34c8befd1365eb38f8dd7f3f81086fa766915610.tar.xz kernel-qcow2-linux-34c8befd1365eb38f8dd7f3f81086fa766915610.zip |
net: dsa: b53: Defer port enabling to calling port_enable
There is no need to configure the enabled ports once in b53_setup() and then a
second time around when dsa_switch_ops::port_enable is called, just do it when
port_enable is called which is better in terms of power consumption and
correctness.
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/plip')
0 files changed, 0 insertions, 0 deletions