2023-12-18 10:12:07

by Fabio Estevam

[permalink] [raw]
Subject: Re: [PATCH] ASoC: fsl_sai: Fix channel swap issue on i.MX8MP

On Mon, Dec 18, 2023 at 7:10 AM Shengjiu Wang <[email protected]> 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
> two channels, then current case started with wrong xMR in
> the beginning, then channel swap happen.
>
> The patch is to clear xMR in hw_free() to avoid such
> channel swap issue.
>
> Signed-off-by: Shengjiu Wang <[email protected]>

Fixes tag, please.