Commits
Shengjiu Wang committed 044b1c44c90
MLK-14316 ASoC: fsl_ssi: Fix playback and capture with mono stream After starting playback with a single channel SSI runs in Normal mode (SCR.net = 0b, SCR.i2s_mode = 00b). But, if starting also capture in parallel with playback the SSI mode changes which breaks the playback. This happens because, we can change SSI mode from two distinct places: * _fsl_ssi_set_dai_fmt * fsl_ssi_hw_params When running playback and capture in parallel for a mono channel, changing hw params for the second stream will have no effect. This patch allows changing the mode only from fsl_ssi_hw_parms so that we have an atomic view of SSI mode. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>