]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: stm32: spdifrx: update pcm hardware constraints
authorOlivier Moysan <olivier.moysan@st.com>
Mon, 6 May 2019 12:44:04 +0000 (14:44 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 May 2019 14:46:23 +0000 (23:46 +0900)
commit2f78bf05c4713c8c8132a1447a0eca704c68b8fa
tree0a41ba437cbe2b7f3ef1ecfa54c5728a5a6136c7
parentd4eb84c9c67e1330ac17567e11d7c70abb06c840
ASoC: stm32: spdifrx: update pcm hardware constraints

- Set period minimum size. Ensure at least 5ms period
up to 48kHz/16 bits to prevent underrun/overrun.
- Remove MDMA constraints on period maximum size and
set period maximum to half the buffer maximum size.

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