mt76: mt7615: disable aspm by default

The vendor SDK also disables ASPM by default

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Lorenzo Bianconi 2020-04-17 12:10:54 +02:00 committed by Felix Fietkau
parent ad6b0be6f4
commit 450affca7b

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);