diff options
author | Hikari Hayashi | 2022-07-02 01:26:45 +0800 |
---|---|---|
committer | Hikari Hayashi | 2022-07-02 01:26:45 +0800 |
commit | 7170fc95d551cf920fc12c564960e86c0ff807a8 (patch) | |
tree | 19906201d8f3b080c1ba02eb348810868c8ecf81 /v0-ASoC-cs35l41-CSC3551.patch | |
parent | 41d4266dcc96838e415ba761ccd57d0ab219b37a (diff) | |
download | aur-7170fc95d551cf920fc12c564960e86c0ff807a8.tar.gz |
Add experimental patch for CSC3551
Diffstat (limited to 'v0-ASoC-cs35l41-CSC3551.patch')
-rw-r--r-- | v0-ASoC-cs35l41-CSC3551.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/v0-ASoC-cs35l41-CSC3551.patch b/v0-ASoC-cs35l41-CSC3551.patch new file mode 100644 index 000000000000..df20d15b5195 --- /dev/null +++ b/v0-ASoC-cs35l41-CSC3551.patch @@ -0,0 +1,13 @@ +diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c +index cce27a86267f..7374565ecf15 100644 +--- a/sound/pci/hda/cs35l41_hda.c ++++ b/sound/pci/hda/cs35l41_hda.c +@@ -420,7 +420,7 @@ static int cs35l41_hda_read_acpi(struct cs35l41_hda *cs35l41, const char *hid, i + * And devm functions expect that the device requesting the resource has the correct + * fwnode. + */ +- if (strncmp(hid, "CLSA0100", 8) != 0) ++ if (strncmp(hid, "CLSA0100", 8) != 0 && strncmp(hid, "CSC3551", 7) != 0) + return -EINVAL; + + /* check I2C address to assign the index */ |