diff mbox

[RFT] ASoC: max98925: Fix bit-width 24 settings in max98925_dai_hw_params

Message ID 1427448321.29963.0.camel@phoenix (mailing list archive)
State Accepted
Commit 5116ede10dc92d7a11a38fc59f545c24a33809cd
Headers show

Commit Message

Axel Lin March 27, 2015, 9:25 a.m. UTC
Trivial typo fix.

Signed-off-by: Axel Lin <axel.lin@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(-)

Comments

Mark Brown March 27, 2015, 8:52 p.m. UTC | #1
On Fri, Mar 27, 2015 at 05:25:21PM +0800, Axel Lin wrote:
> Trivial typo fix.

Applied, thanks.
diff mbox

Patch

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,