ASoC: cs42l42: Fix Bitclock polarity inversion
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 5 Mar 2021 17:34:28 +0000 (17:34 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 8 Mar 2021 14:20:37 +0000 (14:20 +0000)
commit97e2b5e5dcd543cd4d85ecb1bfa2a9721a08f411
tree90345e3cbbf4fa77804d04d1c4caa731df87df39
parentc014170408bcd2e8fc726802ed16794d358742ff
ASoC: cs42l42: Fix Bitclock polarity inversion

The driver was setting bit clock polarity opposite to intended polarity.
Also simplify the code by grouping ADC and DAC clock configurations into
a single field.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210305173442.195740-2-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h