mt76: mt7915: disable ASPM
authorFelix Fietkau <nbd@nbd.name>
Thu, 6 May 2021 17:03:03 +0000 (19:03 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 17 Jun 2021 16:33:42 +0000 (18:33 +0200)
The same is done on the other chips already, so it is very likely needed
on MT7915 as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/pci.c

index aae2fb3ccad12cc7da34461beb540333bda83260..340b364da5f0dbc13ef042cd310206195e3e348b 100644 (file)
@@ -255,6 +255,8 @@ static int mt7915_pci_probe(struct pci_dev *pdev,
        if (ret)
                return ret;
 
+       mt76_pci_disable_aspm(pdev);
+
        if (id->device == 0x7916)
                return mt7915_pci_hif2_probe(pdev);