ASoC: stm32: i2s: improve channel capabilities handling

Use alsa snd_pcm_hw_constraint_single service to manage
channels restriction. This provides better status on driver
limitations, to the application.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Olivier Moysan 2019-03-11 16:26:29 +01:00 • committed by Mark Brown
commit c2dc8b2c11
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0