]> www.infradead.org Git - users/hch/dma-mapping.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)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 12:50:58 +0000 (12:50 +0000)
commit2bdc4f5c6838f7c3feb4fe68e4edbeea158ec0a2
tree660b5be0e29cffc1617348dc266697767ab9e0c5
parente793c965519b8b7f2fea51a48398405e2a501729
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