diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2017-09-19 10:46:46 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-09-19 16:08:53 -0700 |
| commit | e85ec74ace29acfda4afdfd56df122a0a62e6a1a (patch) | |
| tree | 9cbbca757a86eb441ff6f54bcf7a5bddc109702b /tools/perf/scripts | |
| parent | net: dsa: b53: Defer port enabling to calling port_enable (diff) | |
| download | linux-e85ec74ace29acfda4afdfd56df122a0a62e6a1a.tar.gz linux-e85ec74ace29acfda4afdfd56df122a0a62e6a1a.zip | |
net: dsa: bcm_sf2: Defer port enabling to calling port_enable
There is no need to configure the enabled ports once in bcm_sf2_sw_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 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
