summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/sigmadsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/sigmadsp.h')
-rw-r--r--sound/soc/codecs/sigmadsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/sigmadsp.h b/sound/soc/codecs/sigmadsp.h
index a6be91a4c2dc..614475cbb823 100644
--- a/sound/soc/codecs/sigmadsp.h
+++ b/sound/soc/codecs/sigmadsp.h
@@ -27,14 +27,20 @@ struct sigmadsp_ops {
struct sigmadsp {
const struct sigmadsp_ops *ops;
+ struct list_head ctrl_list;
struct list_head data_list;
+ struct snd_pcm_hw_constraint_list rate_constraints;
+
unsigned int current_samplerate;
struct snd_soc_component *component;
struct device *dev;
+ struct mutex lock;
+
void *control_data;
int (*write)(void *, unsigned int, const uint8_t *, size_t);
+ int (*read)(void *, unsigned int, uint8_t *, size_t);
};
struct sigmadsp *devm_sigmadsp_init(struct device *dev,