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: 2884c29152 ("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>
This commit is contained in:
Paul Handrigan 2024-07-10 11:04:15 -05:00 • committed by Mark Brown
commit c62bec0fe3
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 11 additions and 5 deletions