Re: [PATCH net-next v2 01/11] net: dsa: PHY device is mandatory for EEE
From: Andrew Lunn <andrew@lunn.ch>
Date: 2017-08-01 21:00:59
Also in:
lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2017-08-01 21:00:59
Also in:
lkml
On Tue, Aug 01, 2017 at 04:32:31PM -0400, Vivien Didelot wrote:
The port's PHY and MAC are both implied in EEE. The current code does not call the PHY operations if the related device is NULL. Change that by returning -ENODEV if there's no PHY device attached to the interface. Signed-off-by: Vivien Didelot <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew