ASoC: max98925: Fix bit-width 24 settings in max98925_dai_hw_params
authorAxel Lin <axel.lin@ingics.com>
Fri, 27 Mar 2015 09:25:21 +0000 (17:25 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2015 20:53:49 +0000 (13:53 -0700)
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>
sound/soc/codecs/max98925.c

index 0796dfaeb1394f5e5e9fa957a4f975c665b55850..9b5a17de46909172057e4f6cc1d3d4afa579adbc 100644 (file)
@@ -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,