imx: sai: Fix sof run fail issue on imx8ulp

Don't need to enable packed mode for sai on 8ulp.

Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com>
This commit is contained in:
Zhang Peng 2023-09-14 11:15:17 +08:00 committed by Daniel Baluta
parent 1721f70426
commit 036da2ac43
1 changed files with 2 additions and 0 deletions

View File

@ -355,6 +355,7 @@ static inline int sai_set_config(struct dai *dai, struct ipc_config_dai *common_
return -EINVAL;
}
#ifndef CONFIG_IMX8ULP
switch (sai->params.tdm_slot_width) {
case 8:
val_cr4 |= REG_SAI_CR4_FPACK_8;
@ -365,6 +366,7 @@ static inline int sai_set_config(struct dai *dai, struct ipc_config_dai *common_
default:
break;
}
#endif
val_cr4 |= REG_SAI_CR4_FRSZ(sai->params.tdm_slots);
val_cr4 |= REG_SAI_CR4_CHMOD;