r8169: Align ASPM/CLKREQ setting function with vendor driver
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 12 Sep 2018 06:58:20 +0000 (14:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Sep 2018 01:45:55 +0000 (18:45 -0700)
commit94235460f9eaefc4f0a3a4a6014fb4c6db4241cc
treea2a40ef88e7520de71e1b243afe2f0bb71c43d35
parent3275b4df3c39f97ee3fe982c9bafd6f3b7ff0dfe
r8169: Align ASPM/CLKREQ setting function with vendor driver

There's a small delay after setting ASPM in vendor drivers, r8101 and
r8168.
In addition, those drivers enable ASPM before ClkReq, also change that
to align with vendor driver.

I haven't seen anything bad becasue of this, but I think it's better to
keep in sync with vendor driver.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c