Thread (7 messages) flat view 7 messages, 3 authors, 2018-01-10

RE: [PATCH net-next 3/3] r8169: improve runtime pm in general and suspend unused ports

From: Hayes Wang <hidden>
Date: 2018-01-10 04:01:29

Heiner Kallweit [mailto:hkallweit1@gmail.com]
Sent: Tuesday, January 09, 2018 4:39 AM
[...]
- Change rtl8169_runtime_suspend to power down the chip if the
  interface is down.
The original driver has done it. I don't think you have to do it again in rtl8169_runtime_suspend().

[...]
-	if (!tp->TxDescArray)
+	if (!tp->TxDescArray) {
+		rtl_pll_power_down(tp);
 		return 0;
+	}
It is unnecessary.

Best Regards,
Hayes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help