Re: [PATCH v2] ASoC: fsl_sai: Fix channel swap issue on i.MX8MP

2023-12-19 Thread Mark Brown
On Tue, 19 Dec 2023 10:30:57 +0800, Shengjiu Wang wrote: > When flag mclk_with_tere and mclk_direction_output enabled, > The SAI transmitter or receiver will be enabled in very early > stage, that if FSL_SAI_xMR is set by previous case, > for example previous case is one channel, current case is >

Re: [PATCH v2] ASoC: fsl_sai: Fix channel swap issue on i.MX8MP

2023-12-19 Thread Daniel Baluta
On Tue, Dec 19, 2023 at 5:12 AM Shengjiu Wang wrote: > > When flag mclk_with_tere and mclk_direction_output enabled, > The SAI transmitter or receiver will be enabled in very early > stage, that if FSL_SAI_xMR is set by previous case, > for example previous case is one channel, current case is > t

[PATCH v2] ASoC: fsl_sai: Fix channel swap issue on i.MX8MP

2023-12-18 Thread Shengjiu Wang
When flag mclk_with_tere and mclk_direction_output enabled, The SAI transmitter or receiver will be enabled in very early stage, that if FSL_SAI_xMR is set by previous case, for example previous case is one channel, current case is two channels, then current case started with wrong xMR in the begin