diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2023-01-27 16:51:07 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-31 12:10:48 +0000 |
commit | 7209d5ebb34aff3fbdd504c7deeb9b74df632086 (patch) | |
tree | 8634272bc7824677031b9a2fc6e08cc02bbe8591 /sound/soc/codecs/cs42l42.h | |
parent | 17cb563baef9c4f2d244035a95e361dd673941fa (diff) |
ASoC: cs42l42: Separate ASP config from PLL config
Setup of the ASP (audio serial port) was being done as a side-effect of
cs42l42_pll_config() and forces a restriction on the ratio of sample_rate
to bit_clock that is invalid for Soundwire.
Move the ASP setup into a dedicated function.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230127165111.3010960-5-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l42.h')
-rw-r--r-- | sound/soc/codecs/cs42l42.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l42.h b/sound/soc/codecs/cs42l42.h index a72136664112..17aab06adc8e 100644 --- a/sound/soc/codecs/cs42l42.h +++ b/sound/soc/codecs/cs42l42.h @@ -36,7 +36,6 @@ struct cs42l42_private { int pll_config; u32 sclk; u32 bclk_ratio; - u32 srate; u8 plug_state; u8 hs_type; u8 ts_inv; |