Commit 65fd664
committed
ASoC: sdw_utils: subtract the endpoint that is not present
When asoc_sdw_count_sdw_endpoints() count the num_ends, it doesn't skip
the unpresented endpoints. But, asoc_sdw_parse_sdw_endpoints() will skip
the unpresented endpoints either by quirk or the SDCA function doesn't
show up the endpoint. The endpoint number mismatches between count and
parse and the machine driver will show up a warning about it.
Fixes: 26ee34d ("ASoC: sdw_utils: Add codec_conf for every DAI")
Closes: thesofproject#5620
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent 3217d38 commit 65fd664
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | | - | |
| 1537 | + | |
| 1538 | + | |
1538 | 1539 | | |
| 1540 | + | |
1539 | 1541 | | |
1540 | 1542 | | |
1541 | 1543 | | |
1542 | 1544 | | |
1543 | 1545 | | |
1544 | 1546 | | |
1545 | 1547 | | |
1546 | | - | |
| 1548 | + | |
| 1549 | + | |
1547 | 1550 | | |
| 1551 | + | |
1548 | 1552 | | |
1549 | 1553 | | |
1550 | 1554 | | |
| |||
0 commit comments