We are using “Freescale i.MX6 Quad” with Freescale Kernel 4.14-2.3.x-imx (4.14.170). We see intermediate -EIO issue while reading from pcm using ALSA lib API snd_pcm_readi().
I have enabled the pcm debug logs and found EIO is getting returned by ALSA core part:
kernel: [ 201.184641] imx-tlv320aic3x sound: capture write error (DMA or IRQ trouble?)
I looked and found this issue has been fixed under given “dmaengine: imx-sdma: add terminated list for freed descriptor in worker” patches in 5.10.2.1.x-imx.
I was looking to take this fix and apply to Kernel 4.14-2.3.x-imx on our local branch but I saw it is not directly portable. I was just wondering if anyone knows how to backport this fix to Kernel 4.14 ? Thank-You.
Hello,
None of those kernel are supported by i.MX6, You should try with 4.19.35 and 4.14.98.
Regards
Hello,
None of those versions 4.19.35 and 4.14.98 has that fix available. Fix got added in Kernel version 5.x and available on Freescale github under branch 5.10-2.1.x-imx and on Variscite github under 5.15-2.0.x-imx_var01 .
So was wondering will that fix be merged to 4.14.98 ? or do we need to upgrade our Kernel to either 5.10-2.1.x-imx or 5.15-2.0.x-imx_var01 ?
Regards.