From 751227c6d9811653d9e6a89c568d23fdb68c7473 Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Thu, 14 Sep 2023 11:15:17 +0800 Subject: [PATCH] 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 --- src/drivers/imx/sai.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/imx/sai.c b/src/drivers/imx/sai.c index df9690eb8d7c..2c4c22b01fa7 100644 --- a/src/drivers/imx/sai.c +++ b/src/drivers/imx/sai.c @@ -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;