diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2018-09-05 16:21:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-05 18:11:25 +0200 |
commit | 778ff5bb8689eb4fd05a72a409e32a3a34e23faf (patch) | |
tree | d4de9acebd6babf251b180e6ec52c3720f3fa24e /include | |
parent | ASoC: dapm: Cosmetic tidy up of snd_soc_dapm_new_control (diff) | |
download | linux-778ff5bb8689eb4fd05a72a409e32a3a34e23faf.tar.xz linux-778ff5bb8689eb4fd05a72a409e32a3a34e23faf.zip |
ASoC: dapm: Move connection of CODEC to CODEC DAIs
Currently, snd_soc_dapm_connect_dai_link_widgets connects up the routes
representing normal DAIs, however CODEC to CODEC links are hooked up
through separate infrastructure in soc_link_dai_widgets. Improve the
consistency of the code by using snd_soc_dapm_connect_dai_link for both
types of DAIs.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-dapm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index fdaaafdc7a00..cb177fa21ce7 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -406,12 +406,6 @@ int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm, struct snd_soc_dai *dai); int snd_soc_dapm_link_dai_widgets(struct snd_soc_card *card); void snd_soc_dapm_connect_dai_link_widgets(struct snd_soc_card *card); -int snd_soc_dapm_new_pcm(struct snd_soc_card *card, - struct snd_soc_pcm_runtime *rtd, - const struct snd_soc_pcm_stream *params, - unsigned int num_params, - struct snd_soc_dapm_widget *source, - struct snd_soc_dapm_widget *sink); /* dapm path setup */ int snd_soc_dapm_new_widgets(struct snd_soc_card *card); |