diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-10 10:41:12 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-10 10:41:12 -0500 |
commit | 00fb0d98add90480f60db2d1701ef2bb68a73797 (patch) | |
tree | be81fd6e8869e5550fc131958607f99d001e9096 /sound/soc/codecs/wm8350.c | |
parent | fd8d3bc09033a275d08536c698309e18ee3c14bf (diff) | |
parent | 0049317edb76d17bfac736b658523c15935391a3 (diff) |
Merge branch 'for-2.6.37' into for-2.6.38
Diffstat (limited to 'sound/soc/codecs/wm8350.c')
-rw-r--r-- | sound/soc/codecs/wm8350.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index 4c6c81e11544..d5e6e02ff350 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c | |||
@@ -833,7 +833,7 @@ static int wm8350_set_dai_sysclk(struct snd_soc_dai *codec_dai, | |||
833 | } | 833 | } |
834 | 834 | ||
835 | /* MCLK direction */ | 835 | /* MCLK direction */ |
836 | if (dir == WM8350_MCLK_DIR_OUT) | 836 | if (dir == SND_SOC_CLOCK_OUT) |
837 | wm8350_set_bits(wm8350, WM8350_CLOCK_CONTROL_2, | 837 | wm8350_set_bits(wm8350, WM8350_CLOCK_CONTROL_2, |
838 | WM8350_MCLK_DIR); | 838 | WM8350_MCLK_DIR); |
839 | else | 839 | else |
@@ -1588,6 +1588,13 @@ static int wm8350_codec_probe(struct snd_soc_codec *codec) | |||
1588 | wm8350_set_bits(wm8350, WM8350_ROUT2_VOLUME, | 1588 | wm8350_set_bits(wm8350, WM8350_ROUT2_VOLUME, |
1589 | WM8350_OUT2_VU | WM8350_OUT2R_MUTE); | 1589 | WM8350_OUT2_VU | WM8350_OUT2R_MUTE); |
1590 | 1590 | ||
1591 | /* Make sure AIF tristating is disabled by default */ | ||
1592 | wm8350_clear_bits(wm8350, WM8350_AI_FORMATING, WM8350_AIF_TRI); | ||
1593 | |||
1594 | /* Make sure we've got a sane companding setup too */ | ||
1595 | wm8350_clear_bits(wm8350, WM8350_ADC_DAC_COMP, | ||
1596 | WM8350_DAC_COMP | WM8350_LOOPBACK); | ||
1597 | |||
1591 | /* Make sure jack detect is disabled to start off with */ | 1598 | /* Make sure jack detect is disabled to start off with */ |
1592 | wm8350_clear_bits(wm8350, WM8350_JACK_DETECT, | 1599 | wm8350_clear_bits(wm8350, WM8350_JACK_DETECT, |
1593 | WM8350_JDL_ENA | WM8350_JDR_ENA); | 1600 | WM8350_JDL_ENA | WM8350_JDR_ENA); |