]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 23 Apr 2021 09:58:32 +0000 (11:58 +0200)
commit949f7f50d87508f0ae10257349ee35500b5447c9
tree8c2332bca2183501fef619abc1b89111e48ecf35
parentfa758e48c14d38820778fc29014ed883cde416b9
ASoC: cs42l42: Fix Bitclock polarity inversion

BugLink: https://bugs.launchpad.net/bugs/1923869
[ Upstream commit e793c965519b8b7f2fea51a48398405e2a501729 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h