diff options
author | Peter Ujfalusi <[email protected]> | 2021-11-16 17:21:34 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-11-17 13:04:48 +0000 |
commit | 8ae77801c81d16a09f6b67a6f8d91255d34f5f2c (patch) | |
tree | 1944102f218b8e919dadf1a7540fc4a938bb4434 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7548a391c53cab2af0954d252cc5a9a793fd4c0e (diff) |
ASoC: SOF: utils: Add generic function to get the reply for a tx message
The code to get the reply for a tx is identical in all but one place:
imx8_get_reply(), imx8m_get_reply(), atom_get_reply(), bdw_get_reply().
hda_dsp_ipc_get_reply() have additional check in place for PROBES and
special handling of PM messages.
Add a generic implementation to the core which can be used as drop in
replacement.
The reply size check is changed to be able to handle cases when the reply
size is not know beforehand (this is the case for PROBES and
DEBUG_MEM_USAGE for example).
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Daniel Baluta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions