From: Ugo Rémery Date: Sun, 22 Aug 2021 19:49:32 +0000 (-0500) Subject: rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx X-Git-Tag: v5.15-rc1~157^2~33^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d4dcaf3db9bd073cebf709d081957068de88bdc;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Larry Finger Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20210822194932.29630-1-Larry.Finger@lwfinger.net --- diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c index cfb9f1ea30a06..a7a6ebfaa203c 100644 --- a/drivers/net/wireless/realtek/rtw88/pci.c +++ b/drivers/net/wireless/realtek/rtw88/pci.c @@ -1729,6 +1729,15 @@ static const struct dmi_system_id rtw88_pci_quirks[] = { }, .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), + }, {} };