]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:44 +0000 (15:42 -0500)
commit7aec974ac905af7b06b1039bc04ef57c41aad742
tree243768ec0ff869e4fbf70ad4e6e3d56351967467
parent2c72dcdac69b3d949438180e6725d38c8605d8d7
ASoC: cs42l42: Fix Bitclock polarity inversion

BugLink: https://bugs.launchpad.net/bugs/1923069
[ 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: Andrea Righi <andrea.righi@canonical.com>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h