diff options
author | Neil Mandir <neil.mandir@seco.com> | 2025-08-26 17:30:22 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-08-28 11:12:21 +0300 |
commit | dac978e51cce0c1f00a14c4a82f81d387f79b2d4 (patch) | |
tree | af2456b89b87a8761e093a58802800d82151e3d5 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | bd2902e0bcac8e4daf9cf630517cda4448665667 (diff) | |
download | linux-dac978e51cce0c1f00a14c4a82f81d387f79b2d4.tar.xz |
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: d54f89af6cc4 ("net: macb: Add pm runtime support")
Signed-off-by: Neil Mandir <neil.mandir@seco.com>
Co-developed-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://patch.msgid.link/20250826143022.935521-1-sean.anderson@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions