Re: [PATCH net-next] net: dsa: mv88e6xxx: handle SERDES error appropriately

From: David Miller
Date: Sat May 27 2017 - 18:57:44 EST


From: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 May 2017 18:02:42 -0400

> mv88e6xxx_serdes_power returns an error, so no need to print an error
> message inside of it. Rather print it in its caller when the error is
> ignored, which is in the mv88e6xxx_port_disable void function.
>
> Catch and return its error in the counterpart mv88e6xxx_port_enable.
>
> Fixes: 04aca9938255 ("dsa: mv88e6xxx: Enable/Disable SERDES on port enable/disable")
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

Applied, thanks.