Merge branch 'asoc-dt' into asoc-omap

This commit is contained in:
Mark Brown 2014-05-01 10:57:03 -07:00
commit f29b542183
2 changed files with 54 additions and 27 deletions

View file

@ -933,7 +933,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
@ -944,7 +949,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);