Commit 628eb47
committed
ASoC: sdw_utils: add component_name string to dai_info
Currently the card->components string is extracted from DAI name.
And different codecs use different way to extract the components
string in their rtd_init. Add the component string to the
asoc_sdw_dai_info struct helps the machine driver to generate the
card->components string without rely on the rtd_init. And can combine
different components to a combined string to meet the UCM requirement.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent c6e20f3 commit 628eb47
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| 413 | + | |
412 | 414 | | |
413 | 415 | | |
414 | 416 | | |
| |||
438 | 440 | | |
439 | 441 | | |
440 | 442 | | |
| 443 | + | |
441 | 444 | | |
442 | 445 | | |
443 | 446 | | |
| |||
456 | 459 | | |
457 | 460 | | |
458 | 461 | | |
| 462 | + | |
459 | 463 | | |
460 | 464 | | |
461 | 465 | | |
| |||
491 | 495 | | |
492 | 496 | | |
493 | 497 | | |
| 498 | + | |
494 | 499 | | |
495 | 500 | | |
496 | 501 | | |
| |||
516 | 521 | | |
517 | 522 | | |
518 | 523 | | |
| 524 | + | |
519 | 525 | | |
520 | 526 | | |
521 | 527 | | |
| |||
0 commit comments