Commit 0fb582fb authored by Lucas Tanure's avatar Lucas Tanure Committed by Zheng Zengkai
Browse files

ASoC: cs42l42: Fix channel width support



stable inclusion
from stable-5.10.28
commit 20b39eb99598f9b6ee9b0465a53c3b1da8421b1c
bugzilla: 51779

--------------------------------

[ Upstream commit 2bdc4f5c ]

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

Signed-off-by: default avatarLucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210305173442.195740-3-tanureal@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 9a923bcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment