Re: [PATCH net-next 12/14] net: bcmgenet: move bcmgenet_power_up into resume_noirq

Florian Fainelli
2025-03-06T20:24:55Z

On 3/6/25 11:26, Doug Berger wrote:
> The bcmgenet_power_up() function is moved from the resume method
> to the resume_noirq method for symmetry with the suspend_noirq
> method. This allows the wol_active flag to be removed.
>
> The UMAC_IRQ_WAKE_EVENT interrupts that can be unmasked by the
> bcmgenet_wol_power_down_cfg() function are now re-masked by the
> bcmgenet_wol_power_up_cfg() function at the resume_noirq level
> as well.
>
> Signed-off-by: Doug Berger <opendmb@gmail.com>

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