linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx
@ 2021-08-22 19:49 Larry Finger
  2021-08-29  7:26 ` [v3] " Kalle Valo
  2021-08-29  8:15 ` [PATCH v3] " Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Larry Finger @ 2021-08-22 19:49 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless, Ugo Rémery, Larry Finger

From: Ugo Rémery <ugo.remery@gmail.com>

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

Signed-off-by: =?UTF-8?q?Ugo=20R=C3=A9mery?= <ugo.remery@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---
v2 - add s-o-b line
v3 - added s-o-b line for =?UTF-8?q?Ugo=20R=C3=A9mery
---
 drivers/net/wireless/realtek/rtw88/pci.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c
index e7d17ab8f113..31ee859d379b 100644
--- a/drivers/net/wireless/realtek/rtw88/pci.c
+++ b/drivers/net/wireless/realtek/rtw88/pci.c
@@ -1701,6 +1701,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),
+	},
 	{}
 };
 
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-29  8:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-22 19:49 [PATCH v3] rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx Larry Finger
2021-08-29  7:26 ` [v3] " Kalle Valo
2021-08-29  8:15 ` [PATCH v3] " Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).