diff options
| author | Peter Ujfalusi <[email protected]> | 2025-05-09 08:56:33 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-05-09 09:20:13 +0000 |
| commit | 4d14b1069e9e672dbe1adab52594076da6f4a62d (patch) | |
| tree | 5b4268544399394ad8216337491700bbe8b4bbab /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | ASoC: mediatek: mt8188-mt6359: Depend on MT6359_ACCDET set or disabled (diff) | |
| download | kernel-4d14b1069e9e672dbe1adab52594076da6f4a62d.tar.gz kernel-4d14b1069e9e672dbe1adab52594076da6f4a62d.zip | |
ASoC: SOF: ipc4-control: Use SOF_CTRL_CMD_BINARY as numid for bytes_ext
The header.numid is set to scontrol->comp_id in bytes_ext_get and it is
ignored during bytes_ext_put.
The use of comp_id is not quite great as it is kernel internal
identification number.
Set the header.numid to SOF_CTRL_CMD_BINARY during get and validate the
numid during put to provide consistent and compatible identification
number as IPC3.
For IPC4 existing tooling also ignored the numid but with the use of
SOF_CTRL_CMD_BINARY the different handling of the blobs can be dropped,
providing better user experience.
Reported-by: Seppo Ingalsuo <[email protected]>
Closes: https://github.com/thesofproject/linux/issues/5282
Fixes: a062c8899fed ("ASoC: SOF: ipc4-control: Add support for bytes control get and put")
Cc: [email protected]
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Seppo Ingalsuo <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Liam Girdwood <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
