On Fri, Mar 01, 2019 at 07:53:57PM +0100, Heiner Kallweit wrote: > When testing another issue I faced the problem that > mv88e6xxx_port_setup_mac() failed due to DUPLEX_UNKNOWN being passed > as argument to mv88e6xxx_port_set_duplex(). We should handle this case > gracefully and return -EOPNOTSUPP, like e.g. mv88e6xxx_port_set_speed() > is doing it. > > Fixes: 7f1ae07b51e8 ("net: dsa: mv88e6xxx: add port duplex setter") > Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew