diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-02-10 16:05:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-10 16:19:03 +0100 |
commit | ab3a2189a3744527f54ace1be19eb13e6c3d24df (patch) | |
tree | c24db6695846154814843ee673e57b78e7ef5aa8 /kernel/profile.c | |
parent | ASoC: SOF: Move the definition of enum sof_dsp_power_states to global header (diff) | |
download | linux-ab3a2189a3744527f54ace1be19eb13e6c3d24df.tar.xz linux-ab3a2189a3744527f54ace1be19eb13e6c3d24df.zip |
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 <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220210150525.30756-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions