[alsa-devel] [PATCH v2] ASoC: fsl_ssi: Fix channel swap on playback start

Timur Tabi timur at tabi.org
Tue Apr 4 02:07:42 CEST 2017


Nicolin Chen wrote:
> So your test case involve both TX and RX. That's why this change
> would impact it. My understanding is: because you can not enable
> TX and RX in the same time from user space but only through two
> separate back-to-back system calls. So when the 2nd system call
> happens (RX for example), the RE bit, supposed to be enabled by
> this 2nd system call, has already been set by the 1st TX system
> call -- there's some random data in the RX FIFO already.

This makes sense to me.  I don't have the bandwidth to test it just yet, but I 
suspect that this patch will break PowerPC systems as well.



More information about the Alsa-devel mailing list