]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:50 +0000 (14:21 -0300)
commit84d0975e2775679e8f531fc193039a506e2af0c8
treed5cb4a51e34d5bc5680083e80df6016ee09adc57
parent1160ae4320451f2ae1856132d6796990fbc0f6e8
ASoC: stm32: i2s: fix 16 bit format support

BugLink: https://bugs.launchpad.net/bugs/1855787
commit 0c4c68d6fa1bae74d450e50823c24fcc3cd0b171 upstream.

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>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/soc/stm/stm32_i2s.c