[alsa-devel] [PATCH] ASoC: wm8995: Fix setting sysclk for WM8995_SYSCLK_MCLK2 case

Axel Lin axel.lin at ingics.com
Tue Jun 16 13:39:09 CEST 2015


Fix trivial typo.

Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
Hi Charles and Dimitris,
This looks like a typo. Can you confirm?
Thanks,
Axel.

 sound/soc/codecs/wm8995.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c
index 687c4dd..505b65f 100644
--- a/sound/soc/codecs/wm8995.c
+++ b/sound/soc/codecs/wm8995.c
@@ -1930,7 +1930,7 @@ static int wm8995_set_dai_sysclk(struct snd_soc_dai *dai,
 			dai->id + 1, freq);
 		break;
 	case WM8995_SYSCLK_MCLK2:
-		wm8995->sysclk[dai->id] = WM8995_SYSCLK_MCLK1;
+		wm8995->sysclk[dai->id] = WM8995_SYSCLK_MCLK2;
 		wm8995->mclk[1] = freq;
 		dev_dbg(dai->dev, "AIF%d using MCLK2 at %uHz\n",
 			dai->id + 1, freq);
-- 
2.1.0





More information about the Alsa-devel mailing list