From bd80144cb5beb7166bce3705980aabaa37bbe23e Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi Date: Fri, 17 Apr 2020 12:10:54 +0200 Subject: [PATCH] mt76: mt7615: disable aspm by default The vendor SDK also disables ASPM by default Signed-off-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau --- mt7615/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mt7615/pci.c b/mt7615/pci.c index 4f8a3c63..21b3ec29 100644 --- a/mt7615/pci.c +++ b/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);