Skip to contentSkip to conversation

ASoC: max98925: Fix bit-width 24 settings in max98925_dai_hw_params

PATCH Applied Axel Lin 2 participants 2 messages Mar 27, 2015

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: max98925: Fix bit-width 24 settings in max98925_dai_hw_params

Trivial typo fix.

---
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(-)
sound/soc/codecs/max98925.c +2 -2
index 0796dfa..9b5a17d 100644
@@ -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,
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 1 line · Axel Lin

Trivial typo fix.

Applied, thanks.