aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/cs35l41_hda.h
diff options
context:
space:
mode:
authorStefan Binding <sbinding@opensource.cirrus.com>2022-05-09 22:46:41 +0100
committerTakashi Iwai <tiwai@suse.de>2022-05-16 09:51:21 +0200
commitaa4a38af97e9f117450bcafd25ef02f9f1a37215 (patch)
tree7256df288a87158a454b4dfb77cf9154e4b53d49 /sound/pci/hda/cs35l41_hda.h
parentALSA: hda: cs35l41: Remove Set Channel Map api from binding (diff)
downloadlinux-dev-aa4a38af97e9f117450bcafd25ef02f9f1a37215.tar.xz
linux-dev-aa4a38af97e9f117450bcafd25ef02f9f1a37215.zip
ALSA: hda: cs35l41: Add Support for Interrupts
The CS35L41 can produce interrupts on error. When the interrupts occur, the driver will report the error, but errors will only be fixed after playback finishes. 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-5-vitalyr@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-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 44d9204ffdf1..c486e4a5bb24 100644
--- a/sound/pci/hda/cs35l41_hda.h
+++ b/sound/pci/hda/cs35l41_hda.h
@@ -35,6 +35,8 @@ struct cs35l41_hda {
int irq;
int index;
+ unsigned volatile long irq_errors;
+ struct regmap_irq_chip_data *irq_data;
};
int cs35l41_hda_probe(struct device *dev, const char *device_name, int id, int irq,