diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2023-12-19 10:30:57 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-12-19 13:23:39 +0000 |
commit | 8f0f01647550daf9cd8752c1656dcb0136d79ce1 (patch) | |
tree | b366e0b02c29302085850c121d542b42ba6f2511 /net/core/dev.c | |
parent | 025222a9d6d25eee2ad9a1bb5a8b29b34b5ba576 (diff) | |
download | linux-stable-8f0f01647550daf9cd8752c1656dcb0136d79ce1.tar.gz linux-stable-8f0f01647550daf9cd8752c1656dcb0136d79ce1.tar.bz2 linux-stable-8f0f01647550daf9cd8752c1656dcb0136d79ce1.zip |
ASoC: fsl_sai: Fix channel swap issue on i.MX8MP
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.
Fixes: 3e4a82612998 ("ASoC: fsl_sai: MCLK bind with TX/RX enable bit")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://msgid.link/r/1702953057-4499-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions