[PATCH net-next 1/9] net: stmmac: add suspend()/resume() platform ops

Maxime Chevallier maxime.chevallier at bootlin.com
Tue Aug 12 00:53:51 PDT 2025


On Mon, 11 Aug 2025 19:50:43 +0100
"Russell King (Oracle)" <rmk+kernel at armlinux.org.uk> wrote:

> Add suspend/resume platform operations, which, when populated, override
> the init/exit platform operations when we suspend and resume. These
> suspend()/resume() methods are called by core code, and thus are
> designed to support any struct device, not just platform devices. This
> allows them to be used by the PCI drivers we have.
> 
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Reviewed-by: Maxime Chevallier <maxime.chevallier at bootlin.com>

Maxime



More information about the Linux-mediatek mailing list