[alsa-devel] Again about regression introduced by commit 70d435ba1cd6 ("ASoC: imx-pcm-dma: simplify pcm_config")
Kalle Kankare
kalle.kankare at vincit.com
Fri Nov 17 15:27:22 CET 2017
Hi,
The regression was previously discussed on this mailing list last month
(2017-10-04).
As in the previous discussion, this commit restricts the supported sound
formats to S24_LE. This problem is experienced in our iMX6q based hardware
with SGTL5000 sound chip. I.e.:
# arecord -l | grep 'card 0' -A2
card 0: imx6qba16sgtl50 [imx6q-ba16-sgtl5000], device 0: HiFi sgtl5000-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
In kernel 4.11.0:
# arecord --dump-hw-params -D hw:0,0 2>&1 | grep '^FORMAT'
FORMAT: S16_LE
And in now in kernel 4.13.3:
# arecord --dump-hw-params -D hw:0,0 2>&1 | grep '^FORMAT'
FORMAT: S24_LE
By reverting the mentioned commit 70d435ba1cd6, the format returned to
S16_LE. However, I'm unsure if that is the proper way to solve this issue.
I.e. does reverting the mentioned commit cause some other unwanted effect ?
What would be the best solution that would make the S16_LE format supported
again for SGTL5000 ?
More information about the Alsa-devel
mailing list