]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ASoC: cs42l42: Fix channel width support
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 5 Mar 2021 17:34:29 +0000 (17:34 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:44 +0000 (15:42 -0500)
commite13aea92324daf82973e8009d0bd7ac48d6bbcb9
tree66488b0b901001f019d37b9870868d463d2e0181
parent7aec974ac905af7b06b1039bc04ef57c41aad742
ASoC: cs42l42: Fix channel width support

BugLink: https://bugs.launchpad.net/bugs/1923069
[ Upstream commit 2bdc4f5c6838f7c3feb4fe68e4edbeea158ec0a2 ]

Remove the hard coded 32 bits width and replace with the correct width
calculated by params_width.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210305173442.195740-3-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