ASoC: cs42l42: Fix channel width support
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 5 Mar 2021 17:34:29 +0000 (17:34 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 8 Mar 2021 14:20:38 +0000 (14:20 +0000)
commit3656667e66858fef45017c8e7c73e9918ed23915
tree86aecc3e6c9c928b48065479b55f141b9d7d45b9
parent97e2b5e5dcd543cd4d85ecb1bfa2a9721a08f411
ASoC: cs42l42: Fix channel width support

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>
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h