2 Apr
2021
2 Apr
'21
11:57 a.m.
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@mail.ru
Acked-by: Nicolin Chen nicoleotsuka@gmail.com