Skip to content

Commit 1607737

Browse files
committed
I2S: Not enough padding for 24/32b, 48kHz
Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
1 parent 805bcb1 commit 1607737

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/drivers/intel/cavs

src/drivers/intel/cavs/ssp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ static inline int ssp_set_config(struct dai *dai,
526526

527527
slot_end_padding = frame_end_padding / 2;
528528

529-
if (slot_end_padding > 15) {
530-
/* can't handle padding over 15 bits */
529+
if (slot_end_padding > SOF_DAI_INTEL_SSP_SLOT_PADDING_MAX) {
530+
/* too big padding */
531531
trace_ssp_error("ecf");
532532
ret = -EINVAL;
533533
goto out;

0 commit comments

Comments
 (0)