aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRanjani Sridharan <[email protected]>2022-06-08 20:26:37 -0700
committerMark Brown <[email protected]>2022-06-10 13:32:05 +0100
commitbc433fd76faefb8484f5bc653d846043822a2d35 (patch)
tree41b3b5d663c4e1cdef28dafa55fff56c06d8281f /include
parent4c30004a7c6920c66a08c1aa16481c28202eefd0 (diff)
ASoC: SOF: Add ops_free
Add the ops_free callback in struct sof_dev_desc. Signed-off-by: Ranjani Sridharan <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sound/sof.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h
index 1a82a0db5e7f..367dccfea7ad 100644
--- a/include/sound/sof.h
+++ b/include/sound/sof.h
@@ -138,6 +138,7 @@ struct sof_dev_desc {
struct snd_sof_dsp_ops *ops;
int (*ops_init)(struct snd_sof_dev *sdev);
+ void (*ops_free)(struct snd_sof_dev *sdev);
};
int sof_dai_get_mclk(struct snd_soc_pcm_runtime *rtd);