diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-08-19 17:51:22 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-19 19:59:45 +0400 |
commit | 65d9361f0cb50a20641802ee3075145d72e4409c (patch) | |
tree | 9e5fe5df65473ee4e5ef1880d06bcdfa02faebd4 /include/sound | |
parent | 61aca5646b736a794d40de29a197144db3f0c5ba (diff) | |
download | linux-65d9361f0cb50a20641802ee3075145d72e4409c.tar.xz |
ASoC: Move AUX dev support to the component level
This patch makes it possible to register arbitrary components as a AUX dev
for a card. This was previously only possible for CODEC components. With
componentization having made it possible for components to have DAPM contexts
and controls there is no reason why AUX devs should be artificially limited to
snd_soc_codec devices.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 4a223a895f00..fbc2ad840244 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1140,6 +1140,7 @@ struct snd_soc_pcm_runtime { struct snd_soc_platform *platform; struct snd_soc_dai *codec_dai; struct snd_soc_dai *cpu_dai; + struct snd_soc_component *component; /* Only valid for AUX dev rtds */ struct snd_soc_dai **codec_dais; unsigned int num_codecs; |