diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2023-12-18 18:12:15 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-12-18 20:45:57 +0300 |
commit | 8c4c216db8fb84be9c4ca60d72b88882066cf28f (patch) | |
tree | 6596fa1483525ecd98e31a4d69174adabd18849e /sound/pci/hda/cs35l41_hda.h | |
parent | 13d605e32e4cfdedcecdf3d98d21710ffe887708 (diff) | |
download | linux-8c4c216db8fb84be9c4ca60d72b88882066cf28f.tar.xz |
ALSA: hda: cs35l41: Add config table to support many laptops without _DSD
This make use of the CS35L41 HDA Property framework, which supports
laptops which do not have the _DSD properties in their ACPI.
Add configuration table to be able to use a generic function which allows
laptops to be supported just by adding an entry into the table.
Use configuration table function for existing system 103C89C6.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231218151221.388745-2-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/cs35l41_hda.h')
-rw-r--r-- | sound/pci/hda/cs35l41_hda.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/cs35l41_hda.h b/sound/pci/hda/cs35l41_hda.h index ce3f2bb6ffd0..3d925d677213 100644 --- a/sound/pci/hda/cs35l41_hda.h +++ b/sound/pci/hda/cs35l41_hda.h @@ -35,8 +35,8 @@ struct cs35l41_amp_efi_data { } __packed; enum cs35l41_hda_spk_pos { - CS35l41_LEFT, - CS35l41_RIGHT, + CS35L41_LEFT, + CS35L41_RIGHT, }; enum cs35l41_hda_gpio_function { @@ -50,6 +50,7 @@ struct cs35l41_hda { struct device *dev; struct regmap *regmap; struct gpio_desc *reset_gpio; + struct gpio_desc *cs_gpio; struct cs35l41_hw_cfg hw_cfg; struct hda_codec *codec; |