Commit dac978e
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: d54f89a ("net: macb: Add pm runtime support")
Signed-off-by: Neil Mandir <[email protected]>
Co-developed-by: Sean Anderson <[email protected]>
Signed-off-by: Sean Anderson <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>1 parent bd2902e commit dac978e
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5404 | 5404 | | |
5405 | 5405 | | |
5406 | 5406 | | |
| 5407 | + | |
5407 | 5408 | | |
5408 | 5409 | | |
5409 | 5410 | | |
5410 | | - | |
5411 | | - | |
5412 | | - | |
5413 | | - | |
5414 | | - | |
| 5411 | + | |
5415 | 5412 | | |
5416 | 5413 | | |
5417 | 5414 | | |
| |||
0 commit comments