diff options
author | Peter Ujfalusi <[email protected]> | 2022-02-10 17:05:19 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-02-10 15:19:03 +0000 |
commit | ab3a2189a3744527f54ace1be19eb13e6c3d24df (patch) | |
tree | c24db6695846154814843ee673e57b78e7ef5aa8 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 5fdc1242453e2ae88b2cdb607e4eda6b687f084c (diff) |
ASoC: SOF: ipc: Read and pass the whole message to handlers for IPC events
Change the parameter list for the firmware initiated message (IPC event)
handler functions to:
handler(struct snd_sof_dev *sdev, void *full_msg);
Allocate memory and read the whole message in snd_sof_ipc_msgs_rx() then
pass the pointer to the function handling the message.
Do this only if we actually have a function which is tasked to process the
given type.
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions