]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: cs530x: Calculate proper bclk rate using TDM
authorPaul Handrigan <paulha@opensource.cirrus.com>
Wed, 10 Jul 2024 16:04:15 +0000 (11:04 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jul 2024 17:45:24 +0000 (18:45 +0100)
commitc62bec0fe36873ab6c87c9ae84a6b661d09244c4
tree40fd3550ab768ad1acc98512e46bbb1a96f9cb94
parente021e0eecba99d7ec68f6e7972a72175f54ff6e3
ASoC: cs530x: Calculate proper bclk rate using TDM

Calculate the proper bclk rate using the number of tdm slots
and the width of the tdm data.

Fixes: 2884c29152c0 ("ASoC: cs530x: Support for cs530x ADCs")
Signed-off-by: Paul Handrigan <paulha@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240710160416.2617173-1-paulha@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs530x.c
sound/soc/codecs/cs530x.h