[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0835B3720019904CB8F7AA43166CEEB2D2E114A9@RTITMBSV06.realtek.com.tw>
Date: Wed, 10 Jan 2018 04:01:12 +0000
From: Hayes Wang <hayeswang@...ltek.com>
To: Heiner Kallweit <hkallweit1@...il.com>,
nic_swsd <nic_swsd@...ltek.com>,
David Miller <davem@...emloft.net>
CC: Francois Romieu <romieu@...zoreil.com>,
Florian Fainelli <f.fainelli@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH net-next 3/3] r8169: improve runtime pm in general and suspend unused ports
Heiner Kallweit [mailto:hkallweit1@...il.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
Powered by blists - more mailing lists