summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs42l42.h
diff options
context:
space:
mode:
authorLucas Tanure <tanureal@opensource.cirrus.com>2021-03-05 17:34:29 +0000
committerMark Brown <broonie@kernel.org>2021-03-10 12:50:58 +0000
commit2bdc4f5c6838f7c3feb4fe68e4edbeea158ec0a2 (patch)
tree660b5be0e29cffc1617348dc266697767ab9e0c5 /sound/soc/codecs/cs42l42.h
parente793c965519b8b7f2fea51a48398405e2a501729 (diff)
downloadlinux-2bdc4f5c6838f7c3feb4fe68e4edbeea158ec0a2.tar.bz2
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>
Diffstat (limited to 'sound/soc/codecs/cs42l42.h')
-rw-r--r--sound/soc/codecs/cs42l42.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l42.h b/sound/soc/codecs/cs42l42.h
index 1f0d67c95a9a..9b017b76828a 100644
--- a/sound/soc/codecs/cs42l42.h
+++ b/sound/soc/codecs/cs42l42.h
@@ -757,7 +757,6 @@ struct cs42l42_private {
struct completion pdn_done;
u32 sclk;
u32 srate;
- u32 swidth;
u8 plug_state;
u8 hs_type;
u8 ts_inv;