]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: stm32: spdifrx: retry synchronization in sync state
authorOlivier Moysan <olivier.moysan@st.com>
Fri, 11 Oct 2019 08:48:16 +0000 (10:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 14 Oct 2019 11:57:29 +0000 (12:57 +0100)
commit5a4d7637810b5f6b20286439c62f5b6b67019917
tree914091b74330602bc31c23c51809f31848014b30
parent12461386c5964794a901e2d5b4f303b2d57fca97
ASoC: stm32: spdifrx: retry synchronization in sync state

When STM32 SPDIFRX is in sync state, allow multiple
synchro attempts, instead of exiting on first unsuccessful
trial. This is useful when spdif signal is not immediately
available on input. This also allows Pulseaudio to check
iec capture device availability when no signal is present.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/20191011084816.14279-1-olivier.moysan@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_spdifrx.c