ASoC: stm32: sai: Move static settings to DAI init
authorOlivier Moysan <olivier.moysan@st.com>
Thu, 19 Oct 2017 13:03:18 +0000 (15:03 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 21 Oct 2017 10:17:49 +0000 (11:17 +0100)
commit61fb4ff70377cd2c49a3487bdb0156eba6930072
tree553ac21dc2a9f06f0dc3358da0921e1ac83a1123
parent14f0e5f8d97e632695d92f41f2e91d10d8005d47
ASoC: stm32: sai: Move static settings to DAI init

Audio interface direction and protocol settings does not change
at runtime. So, these settings are moved from hw_params
function to dai_probe and set_fmt.

Signed-off-by: olivier moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_sai_sub.c