diff options
author | Mark Brown <broonie@linaro.org> | 2014-05-01 13:57:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-01 13:57:03 -0400 |
commit | f29b542183df7dc74664799c356f9a041f67a10b (patch) | |
tree | 2eaafa2253e55c22b08e64f6012f14917bc893a5 /include/sound | |
parent | 0265e1ae64ebf1bb55a563599d11fb7376478ae1 (diff) | |
parent | 3ca041ed04734c1709460184f985f5451a813d69 (diff) |
Merge branch 'asoc-dt' into asoc-omap
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 34c34d6e095c..fec6604e4bb8 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -933,7 +933,12 @@ struct snd_soc_dai_link { | |||
933 | }; | 933 | }; |
934 | 934 | ||
935 | struct snd_soc_codec_conf { | 935 | struct snd_soc_codec_conf { |
936 | /* | ||
937 | * specify device either by device name, or by | ||
938 | * DT/OF node, but not both. | ||
939 | */ | ||
936 | const char *dev_name; | 940 | const char *dev_name; |
941 | const struct device_node *of_node; | ||
937 | 942 | ||
938 | /* | 943 | /* |
939 | * optional map of kcontrol, widget and path name prefixes that are | 944 | * optional map of kcontrol, widget and path name prefixes that are |
@@ -944,7 +949,13 @@ struct snd_soc_codec_conf { | |||
944 | 949 | ||
945 | struct snd_soc_aux_dev { | 950 | struct snd_soc_aux_dev { |
946 | const char *name; /* Codec name */ | 951 | const char *name; /* Codec name */ |
947 | const char *codec_name; /* for multi-codec */ | 952 | |
953 | /* | ||
954 | * specify multi-codec either by device name, or by | ||
955 | * DT/OF node, but not both. | ||
956 | */ | ||
957 | const char *codec_name; | ||
958 | const struct device_node *codec_of_node; | ||
948 | 959 | ||
949 | /* codec/machine specific init - e.g. add machine controls */ | 960 | /* codec/machine specific init - e.g. add machine controls */ |
950 | int (*init)(struct snd_soc_dapm_context *dapm); | 961 | int (*init)(struct snd_soc_dapm_context *dapm); |