diff mbox

ASoC: wm8995: Fix setting sysclk for WM8995_SYSCLK_MCLK2 case

Message ID 1434454749.12886.1.camel@ingics.com (mailing list archive)
State Accepted
Commit fcd9d310a5f55ca081c996a96c561225be382ba5
Headers show

Commit Message

Axel Lin June 16, 2015, 11:39 a.m. UTC
Fix trivial typo.

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

Comments

Charles Keepax June 17, 2015, 4:02 p.m. UTC | #1
On Tue, Jun 16, 2015 at 07:39:09PM +0800, Axel Lin wrote:
> Fix trivial typo.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---

Sorry about the slow reply, all looks good to me:

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles
Mark Brown June 17, 2015, 4:45 p.m. UTC | #2
On Tue, Jun 16, 2015 at 07:39:09PM +0800, Axel Lin wrote:
> Fix trivial typo.

Applied, thanks.
diff mbox

Patch

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);