Commit 671646c
r8169: Don't disable ASPM in the driver
Enable or disable ASPM should be done in PCI core instead of in the
device driver.
Commit ba04c7c ("r8169: disable ASPM") uses
pci_disable_link_state() to disable ASPM, but it's not the best way to
do it. If the device really wants to disable ASPM, we can use a quirk in
PCI core to prevent the PCI core from setting ASPM before probe.
Let's remove pci_disable_link_state() for now. Use PCI core quirks if
any regression happens.
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent cadefe5 commit 671646c
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
7647 | 7646 | | |
7648 | 7647 | | |
7649 | 7648 | | |
7650 | | - | |
7651 | | - | |
7652 | | - | |
7653 | | - | |
7654 | | - | |
7655 | 7649 | | |
7656 | 7650 | | |
7657 | 7651 | | |
| |||
0 commit comments