diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-05-06 16:26:43 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-09 18:17:58 +0100 |
commit | cdf8233d2cd2e55c8bc409e5b4fbdb181a1dea2b (patch) | |
tree | 473c69808d3e965999f0c85f37d2f4c2912c8bd0 /sound/soc/sof/sof-client.h | |
parent | a1e5bbc8ea6ae6e0fa1bd42f2ef810b13d9ec066 (diff) | |
download | linux-stable-cdf8233d2cd2e55c8bc409e5b4fbdb181a1dea2b.tar.gz linux-stable-cdf8233d2cd2e55c8bc409e5b4fbdb181a1dea2b.tar.bz2 linux-stable-cdf8233d2cd2e55c8bc409e5b4fbdb181a1dea2b.zip |
ASoC: SOF: sof-client: Add API to get the ipc_type
Provide a way for the client drivers to query the ipc_type used by the
firmware.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220506132647.18690-5-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-client.h')
-rw-r--r-- | sound/soc/sof/sof-client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-client.h b/sound/soc/sof/sof-client.h index 4b5787156775..46b215d9200f 100644 --- a/sound/soc/sof/sof-client.h +++ b/sound/soc/sof/sof-client.h @@ -42,6 +42,7 @@ struct dentry *sof_client_get_debugfs_root(struct sof_client_dev *cdev); struct device *sof_client_get_dma_dev(struct sof_client_dev *cdev); const struct sof_ipc_fw_version *sof_client_get_fw_version(struct sof_client_dev *cdev); size_t sof_client_get_ipc_max_payload_size(struct sof_client_dev *cdev); +enum sof_ipc_type sof_client_get_ipc_type(struct sof_client_dev *cdev); /* module refcount management of SOF core */ int sof_client_core_module_get(struct sof_client_dev *cdev); |