Re: [PATCH net-next 2/3] net: dsa: bcm_sf2: request and handle clocks

2020-09-02 Thread Andrew Lunn
On Tue, Sep 01, 2020 at 03:59:12PM -0700, Florian Fainelli wrote: > Fetch the corresponding clock resource and enable/disable it during > suspend/resume if and only if we have no ports defined for Wake-on-LAN. > > Signed-off-by: Florian Fainelli Reviewed-by: Andrew Lunn Andrew

[PATCH net-next 2/3] net: dsa: bcm_sf2: request and handle clocks

2020-09-01 Thread Florian Fainelli
Fetch the corresponding clock resource and enable/disable it during suspend/resume if and only if we have no ports defined for Wake-on-LAN. Signed-off-by: Florian Fainelli --- drivers/net/dsa/bcm_sf2.c | 20 ++-- drivers/net/dsa/bcm_sf2.h | 2 ++ 2 files changed, 20