18 Feb
2021
18 Feb
'21
7:26 a.m.
On Tue, Feb 16, 2021 at 02:42:21PM +0300, Alexander Shiyan wrote:
When using the driver in I2S TDM mode, the _fsl_ssi_set_dai_fmt() function rewrites the number of slots previously set by the fsl_ssi_set_dai_tdm_slot() function to 2 by default. To fix this, let's use the saved slot count value or, if TDM is not used and the slot count is not set, proceed as before.
Fixes: 4f14f5c11db1 ("ASoC: fsl_ssi: Fix number of words per frame for I2S-slave mode") Signed-off-by: Alexander Shiyan shc_work@mail.ru
Acked-by: Nicolin Chen nicoleotsuka@gmail.com