topology: imx: fix tdm slot width value

Set correct TDM slot width to 32 bits.

The error has been discovered after commit
0ba64e98ec ("SAI: use topology params").
We start using the tdm_slot_width from topology,
rather than hardcoded in code.


Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Iuliana Prodan 2023-11-08 13:19:08 +02:00 committed by Daniel Baluta
parent 414d880429
commit b9bd2303bd
2 changed files with 3 additions and 3 deletions

View File

@ -134,5 +134,5 @@ DAI_CONFIG(SAI, SAI_INDEX, 0, DAI_BE_NAME,
SAI_CONFIG(I2S, SAI_CLOCK(mclk, 12288000, codec_mclk_in),
SAI_CLOCK(bclk, 3072000, codec_master),
SAI_CLOCK(fsync, 48000, codec_master),
SAI_TDM(2, 16, 3, 3),
SAI_TDM(2, 32, 3, 3),
SAI_CONFIG_DATA(SAI, SAI_INDEX, 0)))

View File

@ -115,12 +115,12 @@ ifelse(
SAI_CONFIG(I2S, SAI_CLOCK(mclk, 12288000, codec_mclk_in),
SAI_CLOCK(bclk, 3072000, codec_master),
SAI_CLOCK(fsync, RATE, codec_master),
SAI_TDM(2, 16, 3, 3),
SAI_TDM(2, 32, 3, 3),
SAI_CONFIG_DATA(SAI, SAI_INDEX, 0)))',
CODEC, `wm8962', `
SAI_CONFIG(I2S, SAI_CLOCK(mclk, 12288000, codec_mclk_in),
SAI_CLOCK(bclk, 3072000, codec_master),
SAI_CLOCK(fsync, RATE, codec_master),
SAI_TDM(2, 16, 3, 3),
SAI_TDM(2, 32, 3, 3),
SAI_CONFIG_DATA(SAI, SAI_INDEX, 0)))',
)