SOLVED - Audio channel swap on I2S/SAI codec with iMX8QM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SOLVED - Audio channel swap on I2S/SAI codec with iMX8QM

Jump to solution
600 Views
jniewiadomski
Contributor I

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)

0 Kudos
Reply
1 Solution
585 Views
Chavira
NXP TechSupport
NXP TechSupport

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.

View solution in original post

0 Kudos
Reply
1 Reply
586 Views
Chavira
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply