Commit dac978e5 authored by Neil Mandir's avatar Neil Mandir Committed by Paolo Abeni
Browse files

net: macb: Disable clocks once



When the driver is removed the clocks are disabled twice: once in
macb_remove and a second time by runtime pm. Disable wakeup in remove so
all the clocks are disabled and skip the second call to macb_clks_disable.
Always suspend the device as we always set it active in probe.

Fixes: d54f89af ("net: macb: Add pm runtime support")
Signed-off-by: default avatarNeil Mandir <neil.mandir@seco.com>
Co-developed-by: default avatarSean Anderson <sean.anderson@linux.dev>
Signed-off-by: default avatarSean Anderson <sean.anderson@linux.dev>
Link: https://patch.msgid.link/20250826143022.935521-1-sean.anderson@linux.dev


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent bd2902e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment