Re: [PATCH net-next v3] net: phy: dp8382x: keep WOL settings across suspends

From: Simon Horman
Date: Mon Apr 08 2024 - 03:47:27 EST


On Thu, Apr 04, 2024 at 03:05:16PM +0200, Catalin Popescu wrote:
> Unlike other ethernet PHYs from TI, PHY dp8382x has WOL enabled
> at reset. The driver explicitly disables WOL in config_init callback
> which is called during init and during resume from suspend. Hence,
> WOL is unconditionally disabled during resume, even if it was enabled
> before the suspend. We make sure that WOL configuration is persistent
> across suspends.
>
> Signed-off-by: Catalin Popescu <catalin.popescu@xxxxxxxxxxxxxxxxxxxx>
> ---
> Changes in v3:
> - rename function _dp83822_set_wol to dp83822_config_wol

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>