Skip to content

Commit 036da2a

Browse files
Zhang Pengdbaluta
Zhang Peng
authored andcommitted
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 <[email protected]>
1 parent 1721f70 commit 036da2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/drivers/imx/sai.c

+2
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ static inline int sai_set_config(struct dai *dai, struct ipc_config_dai *common_
355355
return -EINVAL;
356356
}
357357

358+
#ifndef CONFIG_IMX8ULP
358359
switch (sai->params.tdm_slot_width) {
359360
case 8:
360361
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_
365366
default:
366367
break;
367368
}
369+
#endif
368370

369371
val_cr4 |= REG_SAI_CR4_FRSZ(sai->params.tdm_slots);
370372
val_cr4 |= REG_SAI_CR4_CHMOD;

0 commit comments

Comments
 (0)