projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f30ab
)
rtw88: add quirk to disable pci caps on HP Pavilion 14-ce0xxx
author
Ugo Rémery
<ugo.remery@gmail.com>
Sun, 22 Aug 2021 19:49:32 +0000
(14:49 -0500)
committer
Kalle Valo
<kvalo@codeaurora.org>
Sun, 29 Aug 2021 07:25:36 +0000
(10:25 +0300)
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
drivers/net/wireless/realtek/rtw88/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/realtek/rtw88/pci.c
b/drivers/net/wireless/realtek/rtw88/pci.c
index cfb9f1ea30a0624f1456024d98b3cc1bf611eee4..a7a6ebfaa203c728c55d99509b288be1bed853f6 100644
(file)
--- 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),
+ },
{}
};