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>
This commit is contained in:
Lucas Tanure 2021-03-05 17:34:29 +00:00 • committed by Mark Brown
commit 2bdc4f5c68
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 22 additions and 26 deletions