Skip to content
Permalink
Browse files
Fixup! ASoC: SOF: Introduce IPC-specific PCM ops
Add sof_ prefix for the ops struct names.

Note: breaks compilation and it will conflict when moved!!!

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
  • Loading branch information
ujfalusi authored and ranj063 committed Feb 10, 2022
1 parent 60bc06f commit 9e5b6cc2f5a30ddfe3cf17ba0f997cc67d1fb93e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -52,13 +52,13 @@ struct snd_sof_dai_config_data {
};

/**
* struct ipc_pcm_ops - IPC-specific PCM ops
* struct sof_ipc_pcm_ops - IPC-specific PCM ops
* @hw_params: Function pointer for hw_params
* @hw_free: Function pointer for hw_free
* @trigger: Function pointer for trigger
* @dai_link_fixup: Function pointer for DAI link fixup
*/
struct ipc_pcm_ops {
struct sof_ipc_pcm_ops {
int (*hw_params)(struct snd_soc_component *component, struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,
struct snd_sof_platform_stream_params *platform_params);
@@ -371,7 +371,7 @@ struct sof_ipc_pm_ops {
};

struct sof_ipc_tplg_ops;
struct ipc_pcm_ops;
struct sof_ipc_pcm_ops;

/**
* struct sof_ipc_ops - IPC-specific ops
@@ -396,7 +396,7 @@ struct ipc_pcm_ops;
struct sof_ipc_ops {
const struct sof_ipc_tplg_ops *tplg;
const struct sof_ipc_pm_ops *pm;
const struct ipc_pcm_ops *pcm;
const struct sof_ipc_pcm_ops *pcm;

int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
void *reply_data, size_t reply_bytes, bool no_pm);

0 comments on commit 9e5b6cc

Please sign in to comment.