diff options
author | Brent Lu <brent.lu@intel.com> | 2021-06-25 23:50:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-12 01:48:30 +0300 |
commit | bc619cfc6278c87b4e310f9db9f45abc263220e8 (patch) | |
tree | 9515faf00837ba096d8624f097f90b9744c94487 /include/sound | |
parent | f99acc259f621ae6667782778b2065c15e109693 (diff) | |
download | linux-bc619cfc6278c87b4e310f9db9f45abc263220e8.tar.xz |
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')
-rw-r--r-- | include/sound/sof.h | 1 |
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 |