[alsa-devel] [PATCH RFT] ASoC: max98925: Fix bit-width 24 settings in max98925_dai_hw_params
Axel Lin
axel.lin at ingics.com
Fri Mar 27 10:25:21 CET 2015
Trivial typo fix.
Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
Hi Anish,
This looks like a typo, can you confirm if this patch is correct.
Thanks.
sound/soc/codecs/max98925.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c
index 0796dfa..9b5a17d 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,
--
1.9.1
More information about the Alsa-devel
mailing list