ASoC: soc-utils-test: Add test for snd_soc_params_to_bclk()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 17 Aug 2022 12:55:08 +0000 (13:55 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 17 Aug 2022 14:19:14 +0000 (15:19 +0100)
commite32e23a2b588424aec0c4c4435530f8022318b8f
tree9f03bc483690f5fcab7f1f47321cf1ad5213e90e
parentaa16a3dc671748bde2fc0465622c41de39a6cf80
ASoC: soc-utils-test: Add test for snd_soc_params_to_bclk()

snd_soc_params_to_bclk() calculates the BCLK from only the information in
snd_pcm_hw_params. It is therefore a subset of the functionality of
snd_soc_tdm_params_to_bclk() so can use a subset of the test case table.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220817125508.1406651-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-utils-test.c