Merge pull request #559 from mrajwa/icl_work

I2S: Not enough padding for 24/32b, 48kHz
This commit is contained in:
Liam Girdwood 2018-11-09 16:14:24 +00:00 committed by GitHub
commit 0762095b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;