aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/sti/uniperif.h
diff options
context:
space:
mode:
authorMoise Gergaud <moise.gergaud@st.com>2016-04-07 11:25:34 +0200
committerMark Brown <broonie@kernel.org>2016-04-12 04:59:09 +0100
commit72199787662612a7747248f8b56bc5d42694538f (patch)
tree74a4db62ade332a182bd10634400b7e6f076ed40 /sound/soc/sti/uniperif.h
parentASoC: sti: helper functions for unip tdm slots configuration (diff)
downloadwireguard-linux-72199787662612a7747248f8b56bc5d42694538f.tar.xz
wireguard-linux-72199787662612a7747248f8b56bc5d42694538f.zip
ASoC: sti: helper functions to fix tdm runtime params
Signed-off-by: Moise Gergaud <moise.gergaud@st.com> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sti/uniperif.h')
-rw-r--r--sound/soc/sti/uniperif.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/sti/uniperif.h b/sound/soc/sti/uniperif.h
index fb8e427754b6..17d5d1030741 100644
--- a/sound/soc/sti/uniperif.h
+++ b/sound/soc/sti/uniperif.h
@@ -1396,4 +1396,10 @@ int sti_uniperiph_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
int sti_uniperiph_get_tdm_word_pos(struct uniperif *uni,
unsigned int *word_pos);
+int sti_uniperiph_fix_tdm_chan(struct snd_pcm_hw_params *params,
+ struct snd_pcm_hw_rule *rule);
+
+int sti_uniperiph_fix_tdm_format(struct snd_pcm_hw_params *params,
+ struct snd_pcm_hw_rule *rule);
+
#endif