]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f632fa4061e9da44b80c647240e0f4af58065b3
tree9f03bc483690f5fcab7f1f47321cf1ad5213e90e
parent5a1af3ecb9a5230c903e99558b3ca9742bef08b7
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