mt76: mt7615: disable aspm by default

The vendor SDK also disables ASPM by default

Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Lorenzo Bianconi
2020-04-17 14:46:00 +02:00
committed by Felix Fietkau
parent 36591dd35f
commit bd80144cb5
+2
View File
@@ -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);