Commit b055a0c
committed
ASoC: SOF: ipc4: Support for sending payload along with LARGE_CONFIG_GET
There are message types when we would need to send a payload along with
the LARGE_CONFIG_GET message to provide information to the firmware on
what data is requested.
Such cases are the ALSA Kcontrol related messages when the high level
param_id tells only the type of the control, but the ID/index of the exact
control is specified in the payload area.
The caller must place the payload for TX before calling the set_get_data()
and this payload will be sent alongside with the message to the firmware.
The data area will be overwritten by the received data from firmware.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent 63231d5 commit b055a0c
1 file changed
Lines changed: 42 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
437 | 455 | | |
438 | 456 | | |
439 | 457 | | |
| |||
445 | 463 | | |
446 | 464 | | |
447 | 465 | | |
| 466 | + | |
| 467 | + | |
448 | 468 | | |
449 | 469 | | |
450 | 470 | | |
| |||
470 | 490 | | |
471 | 491 | | |
472 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
473 | 501 | | |
474 | 502 | | |
475 | | - | |
| 503 | + | |
| 504 | + | |
476 | 505 | | |
| 506 | + | |
477 | 507 | | |
478 | 508 | | |
479 | 509 | | |
| |||
507 | 537 | | |
508 | 538 | | |
509 | 539 | | |
510 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
511 | 549 | | |
512 | 550 | | |
513 | 551 | | |
| |||
554 | 592 | | |
555 | 593 | | |
556 | 594 | | |
| 595 | + | |
| 596 | + | |
557 | 597 | | |
558 | 598 | | |
559 | 599 | | |
| |||
0 commit comments