diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-07-15 16:52:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-15 21:11:38 +0200 |
commit | bdcf7926fab202d37bfc8e17f1c8ed5d2e611404 (patch) | |
tree | b4dc3d4083b596603279c8086328bfb8af56521a /sound/soc/sof/sof-client-probes.h | |
parent | ASoC: SOF: Intel: hda: only fixup topology name if not set already (diff) | |
download | linux-bdcf7926fab202d37bfc8e17f1c8ed5d2e611404.tar.xz linux-bdcf7926fab202d37bfc8e17f1c8ed5d2e611404.zip |
ASoC: SOF: probes: rename assign/free callbacks as startup/shutdown
assign/free are not well aligned to usual conventions and specifically
not to the compressed ops that make use of the probe callbacks.
Use the more common startup/shutdown. No functional change beyond
renaming.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220715145216.277003-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-client-probes.h')
-rw-r--r-- | sound/soc/sof/sof-client-probes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/sof/sof-client-probes.h b/sound/soc/sof/sof-client-probes.h index 0f9ed4569fd3..9e43f3c444f8 100644 --- a/sound/soc/sof/sof-client-probes.h +++ b/sound/soc/sof/sof-client-probes.h @@ -14,10 +14,10 @@ struct snd_soc_dai; * DSP and host, like HDA. */ struct sof_probes_host_ops { - int (*assign)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream, - struct snd_soc_dai *dai, u32 *stream_id); - int (*free)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream, - struct snd_soc_dai *dai); + int (*startup)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream, + struct snd_soc_dai *dai, u32 *stream_id); + int (*shutdown)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream, + struct snd_soc_dai *dai); int (*set_params)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream, struct snd_compr_params *params, struct snd_soc_dai *dai); |