diff options
author | Jyri Sarha <jyri.sarha@intel.com> | 2022-10-31 12:51:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-31 13:20:20 +0000 |
commit | d8bc54a5f2cb8b3bc2d727badc351b0ad24eb702 (patch) | |
tree | 206b0ca9bc472a0e6b39289c32a711faba4c63ea /sound/soc/sof/sof-priv.h | |
parent | ccf06b148fc22e3a964308df1d158c87710a35bd (diff) | |
download | linux-stable-d8bc54a5f2cb8b3bc2d727badc351b0ad24eb702.tar.gz linux-stable-d8bc54a5f2cb8b3bc2d727badc351b0ad24eb702.tar.bz2 linux-stable-d8bc54a5f2cb8b3bc2d727badc351b0ad24eb702.zip |
ASoC: SOF: client: Add sof_client_ipc_set_get_data()
No need to duplicate set_get_data msg handling in clients.
Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>
Reviewed-by: Péter 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>
Signed-off-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20221031105141.19037-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index 876e6fdbef4f..eb1192dbdfb6 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -680,6 +680,8 @@ static inline void snd_sof_ipc_msgs_rx(struct snd_sof_dev *sdev) } int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, void *reply_data, size_t reply_bytes); +int sof_ipc_set_get_data(struct snd_sof_ipc *ipc, void *msg_data, + size_t msg_bytes, bool set); int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, void *reply_data, size_t reply_bytes); int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, |