ASoC: stm32: sai: fix sai probe
authorOlivier Moysan <olivier.moysan@st.com>
Fri, 17 Apr 2020 14:21:22 +0000 (16:21 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 17 Apr 2020 18:37:14 +0000 (19:37 +0100)
commite2bcb65782f91390952e849e21b82ed7cb05697f
tree7a9b73df18c903935cb0cbe7802eccdcfbcfb9d8
parent15a5760cb8b6d5c1ebbf1d2e1f0b77380ab68a82
ASoC: stm32: sai: fix sai probe

pcm config must be set before snd_dmaengine_pcm_register() call.

Fixes: 0d6defc7e0e4 ("ASoC: stm32: sai: manage rebind issue")
Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/20200417142122.10212-1-olivier.moysan@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_sai_sub.c