platform/x86: acer-wmi: Add support for Acer PH16-71

Message ID 20240220055231.6451-1-onenowy@gmail.com
State New
Headers
Series platform/x86: acer-wmi: Add support for Acer PH16-71 |

Commit Message

SungHwan Jung Feb. 20, 2024, 5:52 a.m. UTC
  Add Acer Predator PH16-71 to Acer_quirks with predator_v4
to support mode button and fan speed sensor.

Signed-off-by: SungHwan Jung <onenowy@gmail.com>
---
 drivers/platform/x86/acer-wmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)
  

Comments

Ilpo Järvinen March 4, 2024, 1:16 p.m. UTC | #1
On Tue, 20 Feb 2024 14:52:31 +0900, SungHwan Jung wrote:

> Add Acer Predator PH16-71 to Acer_quirks with predator_v4
> to support mode button and fan speed sensor.
> 
> 


Thank you for your contribution, it has been applied to my local
review-ilpo branch. Note it will show up in the public
platform-drivers-x86/review-ilpo branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: acer-wmi: Add support for Acer PH16-71
      commit: 21f168a1c5e19dc1af511fc5031678a9c0f823ee

--
 i.
  

Patch

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 88b826e88ebd..771b0ce34c8f 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -584,6 +584,15 @@  static const struct dmi_system_id acer_quirks[] __initconst = {
 		},
 		.driver_data = &quirk_acer_predator_v4,
 	},
+	{
+		.callback = dmi_matched,
+		.ident = "Acer Predator PH16-71",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Predator PH16-71"),
+		},
+		.driver_data = &quirk_acer_predator_v4,
+	},
 	{
 		.callback = set_force_caps,
 		.ident = "Acer Aspire Switch 10E SW3-016",