ASoC: stm32: i2s: fix dma configuration
authorOlivier Moysan <olivier.moysan@st.com>
Tue, 26 Feb 2019 13:51:07 +0000 (14:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:38:33 +0000 (15:38 +0100)
commit704a74eb0c0729be77fb36ac8759f2f66f2589ec
tree2dc619c16fa725710edd6c395ac8adfdacde95f5
parentc319da0690bf14bd2b8da37e59dbe9f32e5f97ac
ASoC: stm32: i2s: fix dma configuration

commit 1ac2bd16448997d9ec01922423486e1e85535eda upstream.

DMA configuration is not balanced on start/stop.
Move DMA configuration to trigger callback.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/stm/stm32_i2s.c