]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 10 Mar 2021 12:50:56 +0000 (12:50 +0000)
commit59196fe096f61f08c6899b68e789ed34ab77e932
tree56419cc9f5293ce2562276a041b9aacba5e870b1
parenta4f20378ed184cc6965d566e5ed11fb0f47bb2cb
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