[PATCH] ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
Nicolin Chen
nicoleotsuka at gmail.com
Thu Feb 18 07:26:50 CET 2021
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 at mail.ru>
Acked-by: Nicolin Chen <nicoleotsuka at gmail.com>
More information about the Alsa-devel
mailing list