Skip to content

Commit

Permalink
Initial support for linux-6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
BoukeHaarsma23 committed Sep 11, 2023
1 parent f05749f commit 262ce8c
Show file tree
Hide file tree
Showing 20 changed files with 190 additions and 7,033 deletions.
238 changes: 0 additions & 238 deletions linux/0001-ALSA-cs35l41-Use-mbox-command-to-enable-speaker-outp.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d99738ad5dd159028f354c1ece9eddabd16a0ed9 Mon Sep 17 00:00:00 2001
From 6631924d1843f2ef18b6dfaf5bed4b56c4fdd78c Mon Sep 17 00:00:00 2001
From: "Luke D. Jones" <[email protected]>
Date: Wed, 23 Aug 2023 11:05:59 +1200
Subject: [PATCH] ALSA: hda: cs35l41: Support ASUS 2023 laptops with missing
Expand Down Expand Up @@ -28,17 +28,17 @@ Signed-off-by: Jonathan LoBue <[email protected]>
Co-developed-by: Luke D. Jones <[email protected]>
Signed-off-by: Luke D. Jones <[email protected]>
---
sound/pci/hda/cs35l41_hda_property.c | 54 ++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
sound/pci/hda/cs35l41_hda_property.c | 53 ++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)

diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c
index 673f23257a09..2bf2365cef50 100644
index b62a4e6968e26..bd0437c347bb2 100644
--- a/sound/pci/hda/cs35l41_hda_property.c
+++ b/sound/pci/hda/cs35l41_hda_property.c
@@ -43,6 +43,49 @@ static int lenovo_legion_no_acpi(struct cs35l41_hda *cs35l41, struct device *phy
@@ -73,6 +73,48 @@ static int hp_vision_acpi_fix(struct cs35l41_hda *cs35l41, struct device *physde

return 0;
}

+static int asus_rog_2023_i2c_no_acpi(struct cs35l41_hda *cs35l41, struct device *physdev, int id,
+ const char *hid)
+{
Expand Down Expand Up @@ -81,14 +81,13 @@ index 673f23257a09..2bf2365cef50 100644
+
+ return 0;
+}
+
struct cs35l41_prop_model {
const char *hid;
const char *ssid;
@@ -53,6 +96,17 @@ struct cs35l41_prop_model {
const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
@@ -85,6 +127,17 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
{ "CLSA0100", NULL, lenovo_legion_no_acpi },
{ "CLSA0101", NULL, lenovo_legion_no_acpi },
{ "CSC3551", "103C89C6", hp_vision_acpi_fix },
+ { "CSC3551", "10431433", asus_rog_2023_i2c_no_acpi }, // ASUS GS650P
+ { "CSC3551", "10431463", asus_rog_2023_i2c_no_acpi }, // ASUS GA402X
+ { "CSC3551", "10431473", asus_rog_2023_spi_no_acpi }, // ASUS GU604V
Expand Down
Loading

0 comments on commit 262ce8c

Please sign in to comment.