diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-02-10 17:05:19 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-10 15:19:03 +0000 |
commit | ab3a2189a3744527f54ace1be19eb13e6c3d24df (patch) | |
tree | c24db6695846154814843ee673e57b78e7ef5aa8 /sound/soc/hisilicon | |
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 <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 'sound/soc/hisilicon')
0 files changed, 0 insertions, 0 deletions