diff options
author | Mark Brown <broonie@linaro.org> | 2014-06-02 17:06:30 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-02 17:06:30 +0100 |
commit | 47fa14dd46961128c454f2abc0c135360dc23a42 (patch) | |
tree | 213b1cf83b888fefc6d3e5be64f2ee99ba228060 /include/sound | |
parent | 44e4a4778c72acc5f0e74cd64bd58f590d1db77b (diff) | |
parent | 6b0a0b3b4e5c8510d88824310691e47e694dd35a (diff) |
Merge remote-tracking branch 'asoc/topic/dt' into asoc-next
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 520b6684b04..ec7dfe066f5 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -931,7 +931,12 @@ struct snd_soc_dai_link { }; struct snd_soc_codec_conf { + /* + * specify device either by device name, or by + * DT/OF node, but not both. + */ const char *dev_name; + const struct device_node *of_node; /* * optional map of kcontrol, widget and path name prefixes that are @@ -942,7 +947,13 @@ struct snd_soc_codec_conf { struct snd_soc_aux_dev { const char *name; /* Codec name */ - const char *codec_name; /* for multi-codec */ + + /* + * specify multi-codec either by device name, or by + * DT/OF node, but not both. + */ + const char *codec_name; + const struct device_node *codec_of_node; /* codec/machine specific init - e.g. add machine controls */ int (*init)(struct snd_soc_dapm_context *dapm); |