summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8995.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-06-16 19:39:09 +0800
committerMark Brown <broonie@kernel.org>2015-06-17 17:45:15 +0100
commitfcd9d310a5f55ca081c996a96c561225be382ba5 (patch)
tree3df6bee3b6c2a2f167cb8808eaa15c26ddd375dc /sound/soc/codecs/wm8995.c
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
downloadop-kernel-dev-fcd9d310a5f55ca081c996a96c561225be382ba5.zip
op-kernel-dev-fcd9d310a5f55ca081c996a96c561225be382ba5.tar.gz
ASoC: wm8995: Fix setting sysclk for WM8995_SYSCLK_MCLK2 case
Fix trivial typo. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8995.c')
-rw-r--r--sound/soc/codecs/wm8995.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c
index 66103c2..0556e01 100644
--- a/sound/soc/codecs/wm8995.c
+++ b/sound/soc/codecs/wm8995.c
@@ -1929,7 +1929,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);
OpenPOWER on IntegriCloud