rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx

8821CE causes random freezes on HP Pavilion 14-ce0019nf. Add a quirk
to disable pci ASPM capability.

Signed-off-by: Ugo Rémery <ugo.remery@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210822194932.29630-1-Larry.Finger@lwfinger.net
This commit is contained in:
Ugo Rémery 2021-08-22 14:49:32 -05:00 committed by Kalle Valo
parent e3f30ab28a
commit 1d4dcaf3db
1 changed files with 9 additions and 0 deletions

View File

@ -1729,6 +1729,15 @@ static const struct dmi_system_id rtw88_pci_quirks[] = {
}, },
.driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM), .driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM),
}, },
{
.callback = disable_pci_caps,
.ident = "HP HP Pavilion Laptop 14-ce0xxx",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Laptop 14-ce0xxx"),
},
.driver_data = (void *)BIT(QUIRK_DIS_PCI_CAP_ASPM),
},
{} {}
}; };