aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-03-27 17:25:21 +0800
committerMark Brown <broonie@kernel.org>2015-03-27 13:53:49 -0700
commit5116ede10dc92d7a11a38fc59f545c24a33809cd (patch)
tree90059bf95bcd5d734f97045812bee3bd86052d8c /sound
parentASoC: max98925: Constify regmap config and other codec data (diff)
downloadlinux-dev-5116ede10dc92d7a11a38fc59f545c24a33809cd.tar.xz
linux-dev-5116ede10dc92d7a11a38fc59f545c24a33809cd.zip
ASoC: max98925: Fix bit-width 24 settings in max98925_dai_hw_params
Trivial typo fix. Signed-off-by: Axel Lin <axel.lin@ingics.com> Anish Kumar <Anish.Kumar@maximintegrated.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98925.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c
index 0796dfaeb139..9b5a17de4690 100644
--- a/sound/soc/codecs/max98925.c
+++ b/sound/soc/codecs/max98925.c
@@ -442,8 +442,8 @@ static int max98925_dai_hw_params(struct snd_pcm_substream *substream,
case 24:
regmap_update_bits(max98925->regmap,
MAX98925_FORMAT,
- M98925_DAI_CHANSZ_MASK, M98925_DAI_CHANSZ_32);
- max98925->ch_size = 32;
+ M98925_DAI_CHANSZ_MASK, M98925_DAI_CHANSZ_24);
+ max98925->ch_size = 24;
break;
case 32:
regmap_update_bits(max98925->regmap,