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

From: Florian Fainelli
Date: Thu Mar 06 2025 - 15:25:07 EST


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@xxxxxxxxx>

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