This patchset makes slave open and close symmetrical and provides helpers for enabling or disabling a given DSA port.
Changes in v3: - save the phy_device change for a future patchset Changes in v2: - do not remove the phy argument from port enable/disable Vivien Didelot (2): net: dsa: make slave close symmetrical to open net: dsa: add port enable and disable helpers net/dsa/dsa_priv.h | 3 ++- net/dsa/port.c | 31 ++++++++++++++++++++++++++++++- net/dsa/slave.c | 21 ++++++--------------- 3 files changed, 38 insertions(+), 17 deletions(-) -- 2.14.1