ASoC: SOF: add a helper to get topology configured bclk
authorBrent Lu <brent.lu@intel.com>
Fri, 25 Jun 2021 20:50:41 +0000 (15:50 -0500)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:48:30 +0000 (23:48 +0100)
commitbc619cfc6278c87b4e310f9db9f45abc263220e8
tree9515faf00837ba096d8624f097f90b9744c94487
parentf99acc259f621ae6667782778b2065c15e109693
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>
include/sound/sof.h
sound/soc/sof/sof-audio.c