OSDN Git Service

ASoC: cs42l42: Remove redundant pll_divout member
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 16 Nov 2021 16:39:01 +0000 (16:39 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Nov 2021 13:04:46 +0000 (13:04 +0000)
commitbbf0e1d36519a5cd2c08dc1348f997cd5240eb2e
tree87ade609ede7824446841a7528d8c23b9b4e9118
parent3edde6de090617adea18f2068489086c0d8087e3
ASoC: cs42l42: Remove redundant pll_divout member

Now that struct cs42l42_private has pll_config, the current PLL
configuration can be looked up directly in pll_ratio_table. This
makes the pll_divout member of cs42l42_private redundant since it
was only a copy of the value from pll_ratio_table.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211116163901.45390-5-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h