Commit 2cc991d
net: macb: Disable clocks once
[ Upstream commit dac978e ]
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: d54f89a ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 7b6b76e3f0790862405dc33343995a99defdad30)1 parent 415a230 commit 2cc991d
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5231 | 5231 | | |
5232 | 5232 | | |
5233 | 5233 | | |
| 5234 | + | |
5234 | 5235 | | |
5235 | 5236 | | |
5236 | 5237 | | |
5237 | | - | |
5238 | | - | |
5239 | | - | |
5240 | | - | |
5241 | | - | |
| 5238 | + | |
5242 | 5239 | | |
5243 | 5240 | | |
5244 | 5241 | | |
| |||
0 commit comments