mirror of https://github.com/thesofproject/sof.git
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:
parent
1721f70426
commit
036da2ac43
|
@ -355,6 +355,7 @@ static inline int sai_set_config(struct dai *dai, struct ipc_config_dai *common_
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_IMX8ULP
|
||||||
switch (sai->params.tdm_slot_width) {
|
switch (sai->params.tdm_slot_width) {
|
||||||
case 8:
|
case 8:
|
||||||
val_cr4 |= REG_SAI_CR4_FPACK_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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
val_cr4 |= REG_SAI_CR4_FRSZ(sai->params.tdm_slots);
|
val_cr4 |= REG_SAI_CR4_FRSZ(sai->params.tdm_slots);
|
||||||
val_cr4 |= REG_SAI_CR4_CHMOD;
|
val_cr4 |= REG_SAI_CR4_CHMOD;
|
||||||
|
|
Loading…
Reference in New Issue