Skip to content

Commit c81edb8

Browse files
Ping-Ke ShihKalle Valo
authored andcommitted
rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC
8821CE causes random freezes on HP 250 G7 Notebook PC. Add a quirk to disable pci ASPM capability. Reported-by: rtl8821cerfe2 <rtl8821cerfe2@protonmail.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211119052437.8671-1-pkshih@realtek.com
1 parent 272cda7 commit c81edb8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • drivers/net/wireless/realtek/rtw88

‎drivers/net/wireless/realtek/rtw88/pci.c‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,15 @@ static const struct dmi_system_id rtw88_pci_quirks[] = {
17381738
},
17391739
.driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM),
17401740
},
1741+
{
1742+
.callback = disable_pci_caps,
1743+
.ident = "HP HP 250 G7 Notebook PC",
1744+
.matches = {
1745+
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
1746+
DMI_MATCH(DMI_PRODUCT_NAME, "HP 250 G7 Notebook PC"),
1747+
},
1748+
.driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM),
1749+
},
17411750
{}
17421751
};
17431752

0 commit comments

Comments
 (0)