projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad6b0be
)
mt76: mt7615: disable aspm by default
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Fri, 17 Apr 2020 10:10:54 +0000
(12:10 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 12 May 2020 17:52:31 +0000
(19:52 +0200)
The vendor SDK also disables ASPM by default
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c
index
4f8a3c6
..
21b3ec2
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7615/pci.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7615/pci.c
@@
-41,6
+41,8
@@
static int mt7615_pci_probe(struct pci_dev *pdev,
if (ret)
return ret;
+ mt76_pci_disable_aspm(pdev);
+
map = id->device == 0x7663 ? mt7663e_reg_map : mt7615e_reg_map;
return mt7615_mmio_probe(&pdev->dev, pcim_iomap_table(pdev)[0],
pdev->irq, map);