ASoC: stm32: dfsdm: manage multiple prepare
authorOlivier Moysan <olivier.moysan@st.com>
Mon, 4 Mar 2019 14:52:43 +0000 (15:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 May 2019 15:54:06 +0000 (17:54 +0200)
commit33ffe0807d52e97d2cecf551b5aec43cd9c1534c
treee51aabfdccb1b68ccb345a7d730ac4043d13456a
parent74f5898f660d971cd8f0899fe57e209ccd650931
ASoC: stm32: dfsdm: manage multiple prepare

[ Upstream commit 19441e35a43b616ea6afad91ed0d9e77268d8f6a ]

The DFSDM must be stopped when a new setting is applied.
restart systematically DFSDM on multiple prepare calls,
to apply changes.

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