diff options
author | Stefan Binding <sbinding@opensource.cirrus.com> | 2022-05-09 22:46:46 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-05-16 09:55:39 +0200 |
commit | 00f87ec74c3c09628889173b0f594cfc01e74157 (patch) | |
tree | da12b5cc9da401e7c74f13463a12ee27a27dc241 /sound/pci/hda/cs35l41_hda.h | |
parent | ASoC: cs35l41: Move cs_dsp config struct into shared code (diff) | |
download | linux-dev-00f87ec74c3c09628889173b0f594cfc01e74157.tar.xz linux-dev-00f87ec74c3c09628889173b0f594cfc01e74157.zip |
ALSA: hda: cs35l41: Add Amp Name based on channel and index
This will be used to identify ALSA controls and firmware.
The Amp Name will be a channel identifier (L or R), and an
index, which identifies which amp for that channel.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220509214703.4482-10-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r-- | sound/pci/hda/cs35l41_hda.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/cs35l41_hda.h b/sound/pci/hda/cs35l41_hda.h index c486e4a5bb24..a52ffd1f7999 100644 --- a/sound/pci/hda/cs35l41_hda.h +++ b/sound/pci/hda/cs35l41_hda.h @@ -35,7 +35,9 @@ struct cs35l41_hda { int irq; int index; + int channel_index; unsigned volatile long irq_errors; + const char *amp_name; struct regmap_irq_chip_data *irq_data; }; |