[PATCH] ASoC: fsl_esai: Fix TDM slot setup for I2S mode

Nicolin Chen nicoleotsuka at gmail.com
Fri Apr 2 10:57:41 CEST 2021


On Fri, Apr 02, 2021 at 11:14:05AM +0300, Alexander Shiyan wrote:
> When using the driver in I2S TDM mode, the fsl_esai_startup()
> function rewrites the number of slots previously set by the
> fsl_esai_set_dai_tdm_slot() function to 2.
> To fix this, let's use the saved slot count value or, if TDM
> is not used and the number of slots is not set, the driver will use
> the default value (2), which is set by fsl_esai_probe().
> 
> 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