]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: stm32: i2s: update pcm hardware constraints
authorOlivier Moysan <olivier.moysan@st.com>
Mon, 6 May 2019 12:54:11 +0000 (14:54 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 8 May 2019 08:13:38 +0000 (17:13 +0900)
commit5865e29f0e6db147f268b02297cecedcfd4b4ee4
treeff26237dd3a9413702fbbe8882cfcd9c86dca5f0
parent8141f2e9e0ee14e6bdee589d6afb3f415dd22926
ASoC: stm32: i2s: 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_i2s.c