mirror of https://github.com/thesofproject/sof.git
Merge pull request #559 from mrajwa/icl_work
I2S: Not enough padding for 24/32b, 48kHz
This commit is contained in:
commit
0762095b1b
|
@ -526,8 +526,8 @@ static inline int ssp_set_config(struct dai *dai,
|
|||
|
||||
slot_end_padding = frame_end_padding / 2;
|
||||
|
||||
if (slot_end_padding > 15) {
|
||||
/* can't handle padding over 15 bits */
|
||||
if (slot_end_padding > SOF_DAI_INTEL_SSP_SLOT_PADDING_MAX) {
|
||||
/* too big padding */
|
||||
trace_ssp_error("ecf");
|
||||
ret = -EINVAL;
|
||||
goto out;
|
||||
|
|
Loading…
Reference in New Issue