Re: [PATCH v2 3/3] net: phy: realtek: Disable clock on suspend

From: Florian Fainelli
Date: Fri Jun 02 2023 - 15:11:39 EST


On 6/2/23 11:26, Detlev Casanova wrote:
For PHYs that call rtl821x_probe() where an external clock can be
configured, make sure that the clock is disabled
when ->suspend() is called and enabled on resume.

The PHY_ALWAYS_CALL_SUSPEND is added to ensure that the suspend function
is actually always called.

Signed-off-by: Detlev Casanova <detlev.casanova@xxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian