ASoC: sti: helper functions for unip tdm slots configuration
authorMoise Gergaud <moise.gergaud@st.com>
Thu, 7 Apr 2016 09:25:33 +0000 (11:25 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 12 Apr 2016 03:59:09 +0000 (04:59 +0100)
commit44f948bdb175bf326911c9ba0e47389918161ce5
tree7725979f1693b1d1f33aada15f63571c9a8ba4ba
parent9a00a3e9fea1ea5affa7bea971299d3a5832daad
ASoC: sti: helper functions for unip tdm slots configuration

- sti_uniperiph_set_tdm_slot: store tdm slot config in unip context
- sti_uniperiph_get_tdm_word_pos: configure unip tdm slots pos regs

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>
sound/soc/sti/sti_uniperif.c
sound/soc/sti/uniperif.h