aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/sound/soc-link.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-25 09:57:36 +0900
committerMark Brown <broonie@kernel.org>2020-05-25 14:22:11 +0100
commit0cbbf8a0399518e5b865f9a1320d704c1d621703 (patch)
tree6e4a17e1e2965e3301ac84f499431a1afbee5e1d /include/sound/soc-link.h
parentASoC: soc-link: remove unneeded parameter from snd_soc_link_xxx() (diff)
downloadwireguard-linux-0cbbf8a0399518e5b865f9a1320d704c1d621703.tar.xz
wireguard-linux-0cbbf8a0399518e5b865f9a1320d704c1d621703.zip
ASoC: soc-link: add snd_soc_link_be_hw_params_fixup()
dai_link related function should be implemented at soc-link.c. This patch adds snd_soc_link_be_hw_params_fixup(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/87wo503k73.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-link.h')
-rw-r--r--include/sound/soc-link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc-link.h b/include/sound/soc-link.h
index 2a81dca945cd..aae72f668de6 100644
--- a/include/sound/soc-link.h
+++ b/include/sound/soc-link.h
@@ -9,6 +9,9 @@
#define __SOC_LINK_H
int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd);
+int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
+ struct snd_pcm_hw_params *params);
+
int snd_soc_link_startup(struct snd_pcm_substream *substream);
void snd_soc_link_shutdown(struct snd_pcm_substream *substream);
int snd_soc_link_prepare(struct snd_pcm_substream *substream);