ASoC: stm32: i2s: fix 16 bit format support
authorOlivier Moysan <olivier.moysan@st.com>
Tue, 26 Feb 2019 13:51:05 +0000 (14:51 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 26 Feb 2019 15:36:43 +0000 (15:36 +0000)
commit0c4c68d6fa1bae74d450e50823c24fcc3cd0b171
tree110ec393a4ceffe5e52c18bb5051b2b683cd1549
parent8ba3c5215d69c09f5c39783ff3b78347769822ad
ASoC: stm32: i2s: fix 16 bit format support

I2S supports 16 bits data in 32 channel length.
However the expected driver behavior, is to
set channel length to 16 bits when data format is 16 bits.

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