ASoC: stm32: i2s: fix stream count management
authorOlivier Moysan <olivier.moysan@st.com>
Tue, 26 Feb 2019 13:51:06 +0000 (14:51 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 26 Feb 2019 15:41:17 +0000 (15:41 +0000)
commitebf629d502cf7aa138b86f36dc016faf6c8e39e3
treea12a630de5dcef07afb64901d761c56f78c5c906
parent0c4c68d6fa1bae74d450e50823c24fcc3cd0b171
ASoC: stm32: i2s: fix stream count management

Move counter handling to trigger start section
to manage multiple start/stop events.

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