diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2022-06-30 02:23:29 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-07-14 11:23:14 +0200 |
commit | 63f4b99f0089a9719aa4441015fe30ff4b6f10e5 (patch) | |
tree | 636526f4ef1775fa68e94e2615b805262b9364e2 /sound/pci/hda/cs35l41_hda.h | |
parent | ALSA: hda: cs35l41: Support multiple load paths for firmware (diff) | |
download | linux-63f4b99f0089a9719aa4441015fe30ff4b6f10e5.tar.xz linux-63f4b99f0089a9719aa4441015fe30ff4b6f10e5.zip |
ALSA: hda: cs35l41: Support Speaker ID for laptops
Some Laptops use a number of gpios to define which vendor is
used for a particular laptop.
Different coefficient files are used for different vendors.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220630002335.366545-9-vitalyr@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/cs35l41_hda.h b/sound/pci/hda/cs35l41_hda.h index b57f59a1ba49..a9dbc1c19248 100644 --- a/sound/pci/hda/cs35l41_hda.h +++ b/sound/pci/hda/cs35l41_hda.h @@ -43,6 +43,7 @@ struct cs35l41_hda { unsigned volatile long irq_errors; const char *amp_name; const char *acpi_subsystem_id; + int speaker_id; struct mutex fw_mutex; struct regmap_irq_chip_data *irq_data; bool firmware_running; |