summaryrefslogtreecommitdiff
path: root/sound/pci/hda/cs35l41_hda.h
diff options
context:
space:
mode:
authorStefan Binding <sbinding@opensource.cirrus.com>2022-05-10 00:46:46 +0300
committerTakashi Iwai <tiwai@suse.de>2022-05-16 10:55:39 +0300
commit00f87ec74c3c09628889173b0f594cfc01e74157 (patch)
treeda12b5cc9da401e7c74f13463a12ee27a27dc241 /sound/pci/hda/cs35l41_hda.h
parent0db99577c4cddc45447701aeb7b4d7d7b03d626f (diff)
downloadlinux-00f87ec74c3c09628889173b0f594cfc01e74157.tar.xz
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 'sound/pci/hda/cs35l41_hda.h')
-rw-r--r--sound/pci/hda/cs35l41_hda.h2
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;
};