aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 9e593cf1440b..4a9195c5ef2d 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -583,6 +583,14 @@ struct snd_soc_prefix_map {
583 const char *name_prefix; 583 const char *name_prefix;
584}; 584};
585 585
586struct snd_soc_aux_dev {
587 const char *name; /* Codec name */
588 const char *codec_name; /* for multi-codec */
589
590 /* codec/machine specific init - e.g. add machine controls */
591 int (*init)(struct snd_soc_dapm_context *dapm);
592};
593
586/* SoC card */ 594/* SoC card */
587struct snd_soc_card { 595struct snd_soc_card {
588 const char *name; 596 const char *name;
@@ -624,6 +632,15 @@ struct snd_soc_card {
624 struct snd_soc_prefix_map *prefix_map; 632 struct snd_soc_prefix_map *prefix_map;
625 int num_prefixes; 633 int num_prefixes;
626 634
635 /*
636 * optional auxiliary devices such as amplifiers or codecs with DAI
637 * link unused
638 */
639 struct snd_soc_aux_dev *aux_dev;
640 int num_aux_devs;
641 struct snd_soc_pcm_runtime *rtd_aux;
642 int num_aux_rtd;
643
627 struct work_struct deferred_resume_work; 644 struct work_struct deferred_resume_work;
628 645
629 /* lists of probed devices belonging to this card */ 646 /* lists of probed devices belonging to this card */