summaryrefslogtreecommitdiffstats
path: root/include/sound/sof.h
diff options
context:
space:
mode:
authorBrent Lu <brent.lu@intel.com>2021-06-25 15:50:41 -0500
committerMark Brown <broonie@kernel.org>2021-07-11 23:48:30 +0100
commitbc619cfc6278c87b4e310f9db9f45abc263220e8 (patch)
tree9515faf00837ba096d8624f097f90b9744c94487 /include/sound/sof.h
parentf99acc259f621ae6667782778b2065c15e109693 (diff)
downloadlinux-bc619cfc6278c87b4e310f9db9f45abc263220e8.tar.gz
linux-bc619cfc6278c87b4e310f9db9f45abc263220e8.tar.bz2
linux-bc619cfc6278c87b4e310f9db9f45abc263220e8.zip
ASoC: SOF: add a helper to get topology configured bclk
Add helper function sof_dai_ssp_bclk() to get the BCLK frequency configured by topology. Reviewed-by: Bard Liao <bard.liao@intel.com> Signed-off-by: Brent Lu <brent.lu@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210625205042.65181-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof.h')
-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 502ed9b8d6a1..6a1cd8e783d8 100644
--- a/include/sound/sof.h
+++ b/include/sound/sof.h
@@ -101,5 +101,6 @@ struct sof_dev_desc {
};
int sof_dai_get_mclk(struct snd_soc_pcm_runtime *rtd);
+int sof_dai_get_bclk(struct snd_soc_pcm_runtime *rtd);
#endif