]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit863137f0bc5eb2a3a65d1d29778ac65642171b17
tree0a41ba437cbe2b7f3ef1ecfa54c5728a5a6136c7
parentecb2795c08bc825ebd604997e5be440b060c5b18
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