We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 805bcb1 commit 1607737Copy full SHA for 1607737
1 file changed
src/drivers/intel/cavs/ssp.c
@@ -526,8 +526,8 @@ static inline int ssp_set_config(struct dai *dai,
526
527
slot_end_padding = frame_end_padding / 2;
528
529
- if (slot_end_padding > 15) {
530
- /* can't handle padding over 15 bits */
+ if (slot_end_padding > SOF_DAI_INTEL_SSP_SLOT_PADDING_MAX) {
+ /* too big padding */
531
trace_ssp_error("ecf");
532
ret = -EINVAL;
533
goto out;
0 commit comments