Searched hist:"34 c8befd1365eb38f8dd7f3f81086fa766915610" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/dsa/b53/ |
H A D | b53_common.c | diff 34c8befd1365eb38f8dd7f3f81086fa766915610 Tue Sep 19 12:46:45 CDT 2017 Florian Fainelli <f.fainelli@gmail.com> 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>
|