diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-06-16 13:39:09 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-17 18:45:15 +0200 |
commit | fcd9d310a5f55ca081c996a96c561225be382ba5 (patch) | |
tree | 3df6bee3b6c2a2f167cb8808eaa15c26ddd375dc /sound/soc/codecs/wm8995.c | |
parent | Linux 4.1-rc1 (diff) | |
download | linux-fcd9d310a5f55ca081c996a96c561225be382ba5.tar.xz linux-fcd9d310a5f55ca081c996a96c561225be382ba5.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c index 66103c2b012e..0556e01539c2 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); |