We were having random audio left/right channel swaps on a custom i.MX8QM board with SGTL5000 codec. We noticed the same issue on the i.MX8MEK with the wm8960 codec. Both were running yocto Hardknott (5.10.72)
The problem was traced to the fsl_sai ISR resetting the fifo in the event of an underrun. The attached patch fixes the problem. This issue was similarly addressed in 6.3-rc4 (https://github.com/torvalds/linux/commit/cb225ac125a9c82889f4796a6092dd0bed39720a)
Solved! Go to Solution.
Hi jniewiadomski!
Thank you for your contributions to the community more people can solve the same problem or similar problems related to this topic.
NXP appreciates you so much for this contribution.
Hi jniewiadomski!
Thank you for your contributions to the community more people can solve the same problem or similar problems related to this topic.
NXP appreciates you so much for this contribution.