Skip to content

Conversation

nsdrude
Copy link

@nsdrude nsdrude commented Oct 24, 2023

The patch "MLK-19750-1: ASoC: fsl_esai: enhance async mode (part 1)", reverted the constants to their old naming and replaced with and used the wrong values: https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/include/sound/soc-dai.h#L127-L131

This results in the error:
root@imx8qm-var-som:~# aplay /usr/share/sounds/alsa/Front_Center.wav
[ 21.241657] fsl-esai-dai 59010000.esai: failed to derive required SCKT rate
[ 21.248673] fsl-esai-dai 59010000.esai: ASoC: error at snd_soc_dai_hw_params on 59010000.esai: -22
[ 21.257795] HiFi: ASoC: error at __soc_pcm_hw_params on HiFi: -22
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/pcm/pcm_direct.c:1336:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/pcm/pcm_dmix.c:1011:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:831: audio open error: Invalid argument

This patch restores the original constants.

fixes: 8734e7f

The patch "MLK-19750-1: ASoC: fsl_esai: enhance async mode (part 1)",
reverted the constants to their old naming and replaced with and used
the wrong values: https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/include/sound/soc-dai.h#L127-L131

This results in the error:
  root@imx8qm-var-som:~# aplay /usr/share/sounds/alsa/Front_Center.wav
  [   21.241657] fsl-esai-dai 59010000.esai: failed to derive required SCKT rate
  [   21.248673] fsl-esai-dai 59010000.esai: ASoC: error at snd_soc_dai_hw_params on 59010000.esai: -22
  [   21.257795]  HiFi: ASoC: error at __soc_pcm_hw_params on HiFi: -22
  ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/pcm/pcm_direct.c:1336:(snd1_pcm_direct_initialize_slave) unable to install hw params
  ALSA lib /usr/src/debug/alsa-lib/1.2.8-r0/src/pcm/pcm_dmix.c:1011:(snd_pcm_dmix_open) unable to initialize slave
  aplay: main:831: audio open error: Invalid argument

This patch restores the original constants.

fixes: nxp-imx@8734e7f

Signed-off-by: Nate Drude <[email protected]>
Overdr0ne pushed a commit to Overdr0ne/linux-imx that referenced this pull request Jul 28, 2025
* dts: mt-connect: add gpio line names

* dts: mt-connect: remove sai3 and mux its gpios in gpio blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants