ASoC: wm8995: Fix setting sysclk for WM8995_SYSCLK_MCLK2 case
authorAxel Lin <axel.lin@ingics.com>
Tue, 16 Jun 2015 11:39:09 +0000 (19:39 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 17 Jun 2015 16:45:15 +0000 (17:45 +0100)
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>
sound/soc/codecs/wm8995.c

index 66103c2b012e522062a9d29d5f92a099223c6015..0556e01539c23bb3f309f2b14e6f1b24848da2e5 100644 (file)
@@ -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);